Date: 23 Jul 95 20:46:49 +0100 From: Gisle Vanem To: djgpp AT sun DOT soe DOT clarkson DOT edu Cc: Giva AT bbb DOT no Subject: CRT0.O not found !? Hope someone can help with this seemingly simple problem I have with djgpp v2.0-beta. The following compile gets me error from the linker: c:\test\> gcc -v hello.c [..] gcc version 2.6.3 cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6 -Dunix -Di386 -DGO32 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) hello.c d:\temp\ccbaaaaa GNU CPP version 2.6.3 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: ./ e:/gnu/djgpp/include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.6.1/include /usr/include End of search list. cc1 d:\temp\ccbaaaaa -quiet -dumpbase hello.c -version -o d:\temp\cccaaaaa GNU C version 2.6.3 (80386, BSD syntax) compiled by GNU C version 2.6.3. as -o d:\temp\ccdaaaaa d:\temp\cccaaaaa ld crt0.o d:\temp\ccdaaaaa -lgcc -lc -lgcc e:\gnu\djgpp\bin/ld.exe: cannot open crt0.o: No such file or directory.. [..] Here are the relevant env.vars: djgpp=e:/gnu/djgpp/bin/djgpp.env gcctmp=d:/temp go32tmp=d:/temp c_include_path=e:/gnu/djgpp/include library_path=e:/gnu/djgpp/lib And some sections from DJGPP.ENV: DJDIR=e:/gnu/djgpp +USER=dosuser +TMPDIR=%TEMP +GO32TMP=%GO32TMP [cpp] CPLUS_INCLUDE_PATH=%CPLUS_INCLUDE_PATH% C_INCLUDE_PATH=./;%C_INCLUDE_PATH OBJCPLUS_INCLUDE_PATH=./;%OBJCPLUS_INCLUDE_PATH OBJC_INCLUDE_PATH=./;%OBJC_INCLUDE_PATH [gcc] COMPILER_PATH=%DJDIR/BIN LIBRARY_PATH=%DJDIR/LIB STANDARD_STARTFILE_PREFIX=%DJDIR/LIB [ld] STANDARD_STARTFILE_PREFIX=%DJDIR/LIB The last `STANDARD_STARTFILE_PREFIX' was just a last desperate attempt after looking in the INFO. I have looked at the FAQ, but to no help. Please help... Gisle V.