Can we use c++ header file and libraries in protected mode ?

OS Design, Theory, and Programming

Moderator: Moderators

Post Reply
rakesh.sharnagate
Posts: 6
Joined: Mon Jan 24, 2011 6:02 am

Can we use c++ header file and libraries in protected mode ?

Post by rakesh.sharnagate » Fri Jan 28, 2011 5:40 am

I finished my bootloader and now I am working on Protected mode. :lol:

Can we used C++ header files and libraries directly for further development :?:

User avatar
Mike
Site Admin
Posts: 465
Joined: Sat Oct 20, 2007 7:58 pm
Contact:

Re: Can we use c++ header file and libraries in protected mode ?

Post by Mike » Sat Jan 29, 2011 5:00 pm

Hello,

You can technically use any library routine that does not rely on an existing operating system environment. However a lot of the library routines (most) do and will need to be written for your OS.

Because you will end up writing most of the standard library anyways, the recommended approach is to create your own libraries or compile an existing CRT to your OS.
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com

Post Reply