How do you create a freestanding C++ program?

后端 未结 7 981
予麋鹿
予麋鹿 2021-02-02 02:11

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.

7条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-02 02:46

    google 'embedded c++' for a start

    Another idea is to start with the embedded systems emulators, for example the atmel AVR site has a nice IDE the emulates atmel AVR systems, and allows you to build raw code in C and load it into an emulated CPU, they use gcc as toolchain (I think)

提交回复
热议问题