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

OS Design, Theory, and Programming

Moderator: Moderators

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

Postby 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 :?:
rakesh.sharnagate
 
Posts: 6
Joined: Mon Jan 24, 2011 6:02 am

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

Postby 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
User avatar
Mike
Site Admin
 
Posts: 463
Joined: Sat Oct 20, 2007 7:58 pm


Return to Advanced OS Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron