OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 25, 2024 3:56 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: how i do compile a kernel in Borland C++ Builder 5
PostPosted: Fri Feb 22, 2002 6:56 pm 
Hi

We can i compile a kernel in Borland C++ Builder 5. ::)

Please help me!!!!


Top
  
 
 Post subject: Re: how i do compile a kernel in Borland C++ Build
PostPosted: Sat Feb 23, 2002 4:11 am 
TTBOMK C++ Builder cannot link to flat binary format, only PE (.EXE). This means that, unless you want to write a PE loader, you can't use C++ Builder to link your kernel.

In fact, I think C++ Builder is generally unsuited for OS development. You'd be better off with something like Cygwin (http://www.cygwin.com/) or DJGPP (which does support flat binary; http://www.delorie.com/djgpp/).


Top
  
 
 Post subject: Re: how i do compile a kernel in Borland C++ Build
PostPosted: Sat Feb 23, 2002 5:14 am 
What if you use a linker that outputs flat binnary like jloc? And still use the borland compiller.


Top
  
 
 Post subject: Re: how i do compile a kernel in Borland C++ Build
PostPosted: Sat Feb 23, 2002 4:54 pm 
You have to learn how to use JLoc first(which I've kinda given up on).

If you go to this website:
http://alexfru.chat.ru/eindex.html

and look under bootsectors, you will find a bootsector that's able to load .EXE's (not sure though if it supports the PE kind though).

K.J.


Top
  
 
 Post subject: Re: how i do compile a kernel in Borland C++ Build
PostPosted: Mon Feb 25, 2002 7:30 am 
What?

I read somewhere that Borland C++ Builder COULD do it.

I don't know how mind you, but I did read it somewheres :p

I'm pretty sure it can -- it's got all of the functionality of VC++6.0, but it's all command line stuff.  Read through the readme's.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: belliash and 208 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group