Mail Archives: djgpp/1997/02/26/19:07:35
Newsgroups: | comp.os.msdos.djgpp
|
From: | Johan Davidsson <johan DOT davidsson AT wineasy DOT se>
|
Subject: | DJGPP configure (+output)
|
Message-ID: | <3314D424.38F4@wineasy.se>
|
Date: | Wed, 26 Feb 1997 21:24:04 -0300
|
MIME-Version: | 1.0
|
Lines: | 31
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I am trying to congigure DJGPP for my computer. But when I am running
GCC or GXX I get the error message "ld.exe: cannot open -lgcc: File in
wrong format". I have tried to consult the documentation but I can't
figure out what to do. Can someone please help me out?
The output from GCC -v -o hello hello.c is:
C:\usr\local\GNUC\gcc272b\bin>gcc -v -o stubify stubify.c
gcc version 2.7.2
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)
stubify.c C:\WI
NDOWS\TEMP\ccbaaaaa
GNU CPP version 2.7.2 (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/include
/usr/include
End of search list.
cc1 C:\WINDOWS\TEMP\ccbaaaaa -quiet -dumpbase stubify.c -version -o
C:\WINDOWS\
TEMP\cccaaaaa
GNU C version 2.7.2 (80386, BSD syntax) compiled by GNU C version 2.7.2.
as -o C:\WINDOWS\TEMP\ccdaaaaa C:\WINDOWS\TEMP\cccaaaaa
ld -o stubify crt0.o C:\WINDOWS\TEMP\ccdaaaaa -lgcc -lc -lgcc
ld.exe: cannot open -lgcc: File in wrong format
- Raw text -