Page 1 of 1

how i do compile a kernel in Borland C++ Builder 5

Posted: Fri Feb 22, 2002 6:56 pm
by Bartman
Hi

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

Please help me!!!!

Re: how i do compile a kernel in Borland C++ Build

Posted: Sat Feb 23, 2002 4:11 am
by Tim
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/).

Re: how i do compile a kernel in Borland C++ Build

Posted: Sat Feb 23, 2002 5:14 am
by dorip
What if you use a linker that outputs flat binnary like jloc? And still use the borland compiller.

Re: how i do compile a kernel in Borland C++ Build

Posted: Sat Feb 23, 2002 4:54 pm
by K.J.
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.

Re: how i do compile a kernel in Borland C++ Build

Posted: Mon Feb 25, 2002 7:30 am
by shadowwolf
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.