Mail Archives: djgpp-workers/2001/03/07/16:48:29
> [...]
> > c:/djgpp/lib/gcc-lib/djgpp/2.952/collect2.exe -o hello.exe
> > c:/djgpp/lib/crt0.o -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/2.952
> > -Lc:/djgpp/bin -Lc:/djgpp/lib c:/djgpp/tmp\cc3HZb9j.o -lgcc -lc -lgcc
> ^^^^^^^^^^^^^^
> > -Tdjgpp.djl
>
> This one looks wrong, to my eyes. What on earth is -Lc:/djgpp/bin doing
> in there?
I get the same path added; I suppose it's one of those paths that doesn't
make sense on DJGPP and ends up pointing to $DJDIR/bin.
Also the output you sent seems to lack a few lines, Eli.
In particular,
stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie
stubify: hello.exe -> hello.000 -> hello.exe
are missing, as well as the first line of the error (stubify says
'rename of foo failed' before giving the error.
In any case, I get this (I don't use RHIDE):
Reading specs from E:/Djgpp/lib/gcc-lib/djgpp/2.95.2/specs
gcc version 2.95.2 19991024 (release)
E:/Djgpp/lib/gcc-lib/djgpp/2.95.2/cpp.exe -lang-c -v -D__GNUC__=2 -D__GNUC_M
INO
R__=95 -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS -D__unix__ -D__i386__ -D__GO32
__ -
D__DJGPP__=2 -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__DJGPP=2 -D__MSDOS -A
syst
em(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) hello.c
E:/Tmp\ccXhdCic.i
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
E:/Djgpp/lib/gcc-lib/djgpp/2.95.2/include
E:/Djgpp/include
End of search list.
The following default directories have been omitted from the search path:
$DJDIR/lang/cxx
$DJDIR/lib/gcc-lib/djgpp/2.95.2/../../../../djgpp/include
End of omitted list.
E:/Djgpp/lib/gcc-lib/djgpp/2.95.2/cc1.exe
E:/Tmp\ccXhdCic.i -quiet -dumpbase he
llo.c -version -o E:/Tmp\ccyzc0Vh.s
GNU C version 2.95.2 19991024 (release) (djgpp) compiled by GNU C version
2.95.2
19991024 (release).
E:/Djgpp/lib/gcc-lib/djgpp/2.95.2/as.exe -o E:/Tmp\ccaiZA0i.o
E:/Tmp\ccyzc0Vh.s
E:/Djgpp/lib/gcc-lib/djgpp/2.95.2/collect2.exe -v -o hello.exe
E:/Djgpp/lib/gcc
-lib/djgpp/2.95.2/crt0.o -LE:/Djgpp/lib/gcc-lib/djgpp/2.95.2 -LE:/Djgpp/bin
-LE:
/Djgpp/lib E:/Tmp\ccaiZA0i.o -lgcc -lc -lgcc
collect2 version 2.95.2 19991024 (release) (80386, BSD syntax)
E:/Djgpp/lib/gcc-lib/djgpp/2.95.2/ld.exe -v -o hello.exe
E:/Djgpp/lib/gcc-lib/dj
gpp/2.95.2/crt0.o -LE:/Djgpp/lib/gcc-lib/djgpp/2.95.2 -LE:/Djgpp/bin -LE:/Dj
gpp/
lib E:/Tmp\ccaiZA0i.o -lgcc -lc -lgcc
GNU ld version 000413 (with BFD 000413)
E:/Djgpp/bin/stubify.exe -v hello.exe
stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie
stubify: hello.exe -> hello.000 -> hello.exe
So it works just fine (even from under emacs or make, so it's not a nesting
issue).
Maybe the executable was open (possibly running in another window)?
- Raw text -