I\'m just wondering how you create a freestanding program in C++?
Edit: By freestanding I mean a program that doesn\'t run in a hosted envrioment (eg.
You will need an environment that provides:
In addition to any other libraries. If you have no dynamic linker on your platform (if you have no OS, you probably have no linker) then you will have to static-link it all.
In practice this means linking some small C++ runtime, and a C library appropriate for your platform. Then you can simply write a standalone C++ program.