This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Oddities with gcc/g++ linkage
- To: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: Oddities with gcc/g++ linkage
- From: Alex Buell <alex dot buell at tahallah dot demon dot co dot uk>
- Date: Mon, 21 Sep 1998 00:03:35 -0400 (EDT)
- cc: Linux Egcs <egcs at cygnus dot com>
- Reply-To: alex dot buell at tahallah dot demon dot co dot uk
On Sun, 20 Sep 1998, Alex Buell wrote:
> On Sun, 20 Sep 1998, Martin von Loewis wrote:
>
> > I'm not entirely sure *why* this is happening. I believe it is a libio
> > feature, where libio comes from libstdc++ in this case, instead of
> > libc. Adding -lc doesn't help, because libstdc++ is searched first.
>
> Rebuilding egcs-1.1b with --enable-shared should fix this, so I'm told.
> I'm currently rebuilding egcs right now.
As a follow-up, yes giving the --enable-shared parameters fixes the
problem. Martin, I suggest you recompile egcs-1.1b with --enabled-shared
and see if that cures your problem.
Binary executables are a lot smaller now. Great. :o)
Cheers,
Alex
--
/\_/\ Legalise cannabis now!
( o.o ) Grow some cannabis today!
> ^ < Peace, Love, Unity and Respect to all.
http://www.tahallah.demon.co.uk - *new* - rewritten for text browser users!
Linux tahallah 2.1.122 #43 Sat Sep 19 10:54:36 EDT 1998 One AMD 486 DX/4 processor, 49.77 total bogomips, 32M RAM