www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/21/04:32:17

Date: Tue, 21 Jul 1998 11:30:21 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Hooman Katirai <hkatirai AT netpart DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Multiple defintions
In-Reply-To: <000001bdb42d$96e4b1a0$1901030a@WS-hkatirai.netpartners.com>
Message-ID: <Pine.SUN.3.91.980721112931.6992P-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019