Need help with Takashi's Tutorial for Noobs....
Hey,
I keep getting this error when I try and compile the hello world code:
gcc main.c -O2 -m2 -g -c -I../../inc -o main.o
gcc -m2 -L../../lib -Xlinker -T../common/sl.lnk -Xlinker -Map -Xlinker sl.map -X
linker -e -Xlinker ___Start main.o -lsgl -o sl.coff
c:/dev/saturn/bin/ld.exe: cannot open crt0.o: No such file or directory
make.exe: *** [sl.coff] Error 1
I've used the directory he said to on his on the faq, and I used the compiler and sgl from antime's site (I think the links are down now). This is my setenv.bat file:
REM sh-hms
SET PATH=C:\dev\SATURN\BIN;%path%
SET GCC_EXEC_PREFIX=C:\dev\SATURN\LIB\;c:\dev\Saturn
SET INFOPATH=C:\dev\SATURN\INFO
SET LIBRARY_PATH=c:\dev\SATURN\lib;c:\dev\SATURN\Sgl\lib
SET C_INCLUDE_PATH=C:\dev\SATURN\include;C:\dev\Saturn\Sgl\include;C:\dev\SATURN\Sgl\Inc
SET CPLUS_INCLUDE_PATH=C:\dev\SATURN\include\cxx;C:\SATURN\include;c:\dev\SATURN\Sgl\include;C:\dev\SATURN\Sgl\inc
REM Set TMPDIR to point to a ramdisk if you have one
SET TMPDIR=C:\TMP
Any help would be appreciated.
Hey,
I keep getting this error when I try and compile the hello world code:
gcc main.c -O2 -m2 -g -c -I../../inc -o main.o
gcc -m2 -L../../lib -Xlinker -T../common/sl.lnk -Xlinker -Map -Xlinker sl.map -X
linker -e -Xlinker ___Start main.o -lsgl -o sl.coff
c:/dev/saturn/bin/ld.exe: cannot open crt0.o: No such file or directory
make.exe: *** [sl.coff] Error 1
I've used the directory he said to on his on the faq, and I used the compiler and sgl from antime's site (I think the links are down now). This is my setenv.bat file:
REM sh-hms
SET PATH=C:\dev\SATURN\BIN;%path%
SET GCC_EXEC_PREFIX=C:\dev\SATURN\LIB\;c:\dev\Saturn
SET INFOPATH=C:\dev\SATURN\INFO
SET LIBRARY_PATH=c:\dev\SATURN\lib;c:\dev\SATURN\Sgl\lib
SET C_INCLUDE_PATH=C:\dev\SATURN\include;C:\dev\Saturn\Sgl\include;C:\dev\SATURN\Sgl\Inc
SET CPLUS_INCLUDE_PATH=C:\dev\SATURN\include\cxx;C:\SATURN\include;c:\dev\SATURN\Sgl\include;C:\dev\SATURN\Sgl\inc
REM Set TMPDIR to point to a ramdisk if you have one
SET TMPDIR=C:\TMP
Any help would be appreciated.