Mail Archives: djgpp/1998/03/25/12:17:00
> Date: Wed, 25 Mar 1998 19:22:28 +0300 (IDT)
> From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
> Subject: Re: Problems with GCC 2.8.0
>
> On Wed, 25 Mar 1998, Andris Pavenis wrote:
>
> > I tried to reproduce this with both gcc-2.8.0 (precompiled, I take
> > precompiled gcc.exe also) and gcc-2.8.1 and had no success.
>
> Did you try to compile two or more source files on the same GCC command
> line? That's how this problem was found, I believe.
>
Previously not but this was not only reason why I didn't found this.
Only way is when object files are created as temporary ones before
linking: gcc x1.c x2.c -o x.exe. (Previously I put also -c in command line).
This is serious problem with both precompiled 2.8.0 and also my build of
2.8.1 I'm using. Therefore currently
gcc x1.c x2.c -o x.exe
is not working if long filename support is either disabled (LFN=N)
or not available (I didn't test this on system without long filenames)
Andris
----------------------------------------------
Reading specs from c:/djgpp/lib/specs
gcc version 2.8.1
c:/djgpp/lib/gcc-lib/djgpp/2.81/cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGP
P__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 xxxx.c C:/TMP/ccaaaaaa.i
GNU CPP version 2.8.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
c:/djgpp/lib/gcc-lib/djgpp/2.81/include
c:/djgpp/include
End of search list.
c:/djgpp/lib/gcc-lib/djgpp/2.81/cc1.exe C:/TMP/ccaaaaaa.i -quiet -dumpbase xxxx.c -version -o C:/TMP/ccaaaaaa.s
GNU C version 2.8.1 (djgpp) compiled by GNU C version 2.8.1.
c:/djgpp/bin/as.exe -o C:/TMP/ccaaaaaa1.o C:/TMP/ccaaaaaa.s
c:/djgpp/lib/gcc-lib/djgpp/2.81/cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGP
P__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 yyyy.c C:/TMP/ccaaaaaa.i
GNU CPP version 2.8.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
c:/djgpp/lib/gcc-lib/djgpp/2.81/include
c:/djgpp/include
End of search list.
c:/djgpp/lib/gcc-lib/djgpp/2.81/cc1.exe C:/TMP/ccaaaaaa.i -quiet -dumpbase yyyy.c -version -o C:/TMP/ccaaaaaa.s
GNU C version 2.8.1 (djgpp) compiled by GNU C version 2.8.1.
c:/djgpp/bin/as.exe -o C:/TMP/ccaaaaaa2.o C:/TMP/ccaaaaaa.s
c:/djgpp/bin/ld.exe c:/djgpp/lib/crt0.o -Lc:/djgpp/lib -Lc:/djgpp/lib/GCC-LIB/DJGPP/2.81 -Lc:/djgpp/lib/gcc-lib/djgpp/2.81 -Lc:/djgpp/lib C:/TMP/ccaaaaaa1.o C:/TMP/ccaaaaaa2.o -Tdjgpp.djl -lgcc -lc
-lgcc
c:/djgpp/bin/stubify.exe -v a.out
stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie
stubify: a.out -> a.000 -> a.exe
- Raw text -