How do you create a freestanding C++ program?

后端 未结 7 909
予麋鹿
予麋鹿 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:36

    See this page: http://wiki.osdev.org/C++

    It has everything necessary to start writing an OS using c++ as the core language using the more popular toolchains.

    In addition this page should prove to be very helpful: http://wiki.osdev.org/C++_Bare_Bones. It pretty much walks you through getting to the c++ entry point of an OS.

提交回复
热议问题