Page 1 of 1

Problems Compiling my C++ Kernel

Posted: Fri Dec 28, 2007 2:27 pm
by djnorthyy
Hi,

I am currently developing my own 32bit os in C++. I have run into trouble compiling the code. This is only a problem with the C++ code.

I am using DJGPP. The compiler I am using is GCC ( GXX, GPP ). When ever I try any of these commands (gcc, gxx, gpp) i get various errors!

GCC:
gcc.exe: Internal Error: <null> <program cc1plus>
GXX:
Same as above
GPP:
cc1puls.exe: error: djgpp.ver: No such file or directory <ENOENT>
The commands i am using are:
gpp -c Video.cpp -nostdlib -fno-builtin -fno-rtti -fno-exceptions
Any help would be great.
Harry.

Posted: Fri Dec 28, 2007 3:10 pm
by Craze Frog
Forget about djgpp and build a cross compiler as described in the wiki.

Posted: Fri Dec 28, 2007 5:19 pm
by astrocrep
Yes must recommond the CYGWIN x-compiler...

The wiki makes it VERY easy.

-Rich