Re: Huge cpp executables -- why?

Andi Kleen (ak@muc.de)
27 Feb 1999 14:12:16 +0100


gtc@gches.goodnet.com (Geoffrey T. Cheshire) writes:

> On Fri, 26 Feb 1999, H.J. Lu wrote:
>
> > Did you configure egcs with --enable-threads --enable-shared? I think
> > they should be default for glibc 2 on Linux. Otherwise, you may not
> > run C++ binaries compiled on other Linux boxes.
>
> I explicitly configured with --enable-threads; I thought --enable-shared
> was by default (as you say), but I'll have to go back and make sure that
> really happened.

What is probably happening is that you do not have a libc.so file in /usr/lib -
which leads to ld always linking libc statically. Refer to the glibc FAQ for
more information.

-Andi

-- 
This is like TV. I don't like TV.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/