Date: Tue, 21 Jul 1998 11:30:21 +0300 (IDT) From: Eli Zaretskii To: Hooman Katirai cc: djgpp AT delorie DOT com Subject: Re: Multiple defintions In-Reply-To: <000001bdb42d$96e4b1a0$1901030a@WS-hkatirai.netpartners.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.