Mail Archives: djgpp/1998/04/01/22:24:01
I just started a programming class at school and rather than using
their computers all of the time or spending money on a compiler I
thought I would try DJGPP but I am having trouble getting my first
program to compile. It says it cannot open file crt0.o and I'm not
sure what this means. I've tried locating crt0.o in my PATH but that
doesn't help. Any help is appreciated!
Thanks,
Karl
D:\DJGPP>gcc -v -o assign1.exe assign1.c
gcc version 2.7.2.1
cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386
-DGO32 -DMS
DOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__unix -D__i386
-D__GO32 -D__ MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386)
-Amachine(i386) assign1.c C:\WI NDOWS\TEMP\ccbaaaaa GNU CPP version
2.7.2.1 (80386, BSD syntax) #include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.7.2.1/include
/usr/include
End of search list.
cc1 C:\WINDOWS\TEMP\ccbaaaaa -quiet -dumpbase assign1.c -version -o
C:\WINDOWS\
TEMP\cccaaaaa
GNU C version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version
2.7.2.1.
as -o C:\WINDOWS\TEMP\ccdaaaaa C:\WINDOWS\TEMP\cccaaaaa
ld -o assign1.exe crt0.o C:\WINDOWS\TEMP\ccdaaaaa -lgcc -lc -lgcc
D:\DJGPP\BIN/ld.exe: cannot open crt0.o: No such file or directory
(ENOENT)
D:\DJGPP>
- Raw text -