Oddities with gcc/g++ linkage
Alex Buell
alex.buell@tahallah.demon.co.uk
Sun Sep 20 21:06:00 GMT 1998
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
More information about the Gcc
mailing list