Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
djnorthyy
Member
Posts: 49 Joined: Mon Apr 09, 2007 10:50 am
Location: UK, Hants
Contact:
Post
by djnorthyy » Fri Dec 28, 2007 2:27 pm
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.
Craze Frog
Member
Posts: 368 Joined: Sun Sep 23, 2007 4:52 am
Post
by Craze Frog » Fri Dec 28, 2007 3:10 pm
Forget about djgpp and build a cross compiler as described in the wiki.
astrocrep
Member
Posts: 127 Joined: Sat Apr 21, 2007 7:21 pm
Post
by astrocrep » Fri Dec 28, 2007 5:19 pm
Yes must recommond the CYGWIN x-compiler...
The wiki makes it VERY easy.
-Rich
Mouse Pad - Coming in the distant future...
Kernel: Indigo Kernel - v0.0.1
Thanks to JamesM and BrokenThorn for there tutorials!