Mail Archives: djgpp/1998/07/21/04:32:17
On Mon, 20 Jul 1998, Hooman Katirai wrote:
> Also long file names do not seem to be working
> despite the fact that I've "set LFN=y" and the line "LFN=y" appears in the
> file "D:\DJGPP\" where my compiler is installed.
Please elaborate on this one: how do you mean ``long file names do not
seem to work''? What exactly fails, and how?
> D:\genetic>g++ main.o stem.o -lstd -lgpp
^^^^^
This should have been -lstdcxx. But if you use g++, you can omit that
switch altogether, since g++ instructs the linker to look in that
library automatically.
> d:/djgpp/lib/gcc-lib/djgpp\2.81/libgcc.a(exception.o): In function
> `terminate(void)':
> exception.cc(.text+0x0): multiple definition of `terminate(void)'
> d:/djgpp/lib/libstdcxx.a(exceptioni.o)(.text+0x3c):exceptioni.cc: first
> defined here
You have a conflict between libgcc.a and libstdcxx.a. Please make
sure they both come from the same version of GCC. Your other mail
indicates that you installed lgp271b.zip together with gpp281b.zip,
which might be the cause for the trouble.
- Raw text -