Problem compiling Cosmos

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.
Post Reply
JavaMan

Problem compiling Cosmos

Post by JavaMan »

sorry for bad English, I'm Italian... :-)

I have downloaded DJGPP:
- djdev203.zip
- gcc31b.zip
- mak3791b.zip
- sed302b.zip
...
NASM
...
and soure code of mini-kernel "Cosmos":
http://www.execpc.com/~geezer/os/index.htm#cosmos

when I type "make" gcc say:

gcc -s -O2 -outil/rdsk.exe util/rdsk.c
make -C tinylib -f makefile
make.exe[1]: Entering directory `c:/cos/tinylib'
gcc -g -Wall -W -O2 -I../inc -fno-builtin -nostdinc -c -octype/ctype.o ctype/ctype.c
In file included from <command line>:1:
c:/djgpp/lib/gcc-lib/djgpp/3.1/djgpp.ver:1:25: sys/version.h: No such file or directory (ENOENT)
make.exe[1]: *** [ctype/ctype.o] Error 1
make.exe[1]: Leaving directory `c:/cos/tinylib'
make.exe: *** [tinylib/libc.a] Error 2


The file "C:\DJGPP\include\sys\version.h" exist, why GCC doesn't find it?


Bye,
JMAN
DeReiter

RE:Problem compiling Cosmos

Post by DeReiter »

I __highly__ recommend goig linux - trash the dos, I mean it... put linux side-by-side with your windows/dos...

Trust me - this will be the __latest__ gcc/gas/gld
And since it will be preconfigured, you can sop wasting time and get down with the business.
Post Reply