Mail Archives: djgpp/1997/10/24/10:21:16
This is a bug report for RHIDE Version 1.3 (Jun 10 1997 09:23:28)
I am running MS-DOS 7.0 (Windows 95)
Important environment variables:
PATH=D:\WINDOWS;D:\WINDOWS\COMMAND;C:\DOS\WIN95;C:\DOS;C:\NWDOS;C:\UTILITY;C:
\BATCHES;D:\4DOS
DJGPP=
LFN=
INFOPATH=
LOCALEDIR=
LANGUAGE=
SHELL=
COMSPEC=D:\4DOS\4DOS.COM
DJSYSFLAGS=
Here is the output from a sample compilation and link for C
gcc version 2.7.2.1
cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -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)
- C:/Temp/RHcaaaaa\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:/Temp/RHcaaaaa\ccbaaaaa -quiet -dumpbase -.c -version -o
C:/Temp/RHcaaaaa\cccaaaaa
GNU C version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1.
as -v -o C:/Temp/RHcaaaaa\ccdaaaaa C:/Temp/RHcaaaaa\cccaaaaa
GNU assembler version 2.7 (i386-go32-msdos)
ld -o /dev/null crt0.o -v C:/Temp/RHcaaaaa\ccdaaaaa -lgcc -lc -lgcc
ld.exe: cannot open -lgcc: File in wrong format
ld version 2.7 (with BFD 2.7)
End of the sample
Here is the output from a sample compilation and link for C++
gcc version 2.7.2.1
cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
-D__GNUC_MINOR__=7 -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) - C:/Temp/RHcaaaaa\ccbaaaaa
GNU CPP version 2.7.2.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/lib/g++-include
/usr/local/include
/usr/local/go32/include
/usr/local/lib/gcc-lib/go32/2.7.2.1/include
/usr/include
End of search list.
cc1plus C:/Temp/RHcaaaaa\ccbaaaaa -quiet -dumpbase -.cc -version -o
C:/Temp/RHcaaaaa\cccaaaaa
GNU C++ version 2.7.2.1 (80386, BSD syntax) compiled by GNU C version 2.7.2.1.
as -v -o C:/Temp/RHcaaaaa\ccdaaaaa C:/Temp/RHcaaaaa\cccaaaaa
GNU assembler version 2.7 (i386-go32-msdos)
ld -o /dev/null crt0.o -v C:/Temp/RHcaaaaa\ccdaaaaa -lgcc -lc -lgcc
ld.exe: cannot open -lgcc: File in wrong format
ld version 2.7 (with BFD 2.7)
End of the sample
My problem is the following:
============================
Also auf deutsch: Ich bekomm von ld.exe immer eine
'cannot open -lgcc: file in wrong format'-Fehlermeldung.
Wie man oben sieht wird von Rhide hinter ld.exe
zweimal (!) -lgcc als Option angegeben.
CU Stanzy
- Raw text -