gcc 3.0

Gerard Beekmans gerard at linuxfromscratch.org
Fri Jul 6 05:14:54 PDT 2001

On Mon, Jul 02, 2001 at 06:05:36PM -0600, lost at l-w.net wrote:
> I just got finished building the basic LFS system using gcc 3.0. However,
> with the "--enable-shared" gcc 3.0 builds libgcc as shared and stashes it
> in /usr/lib/gcc-lib/.... which is not mounted at sysinit time if /usr is
> on a separate partition. This can be fixed by disabling libgcc as a shared
> library or by copying libgcc_s.so.1 to /lib then running ldconfig.

A better fix is in CVS by adding --with-slibdir=/lib to ./configure
This will install all shared libraries in /lib (which in gcc's case is
only libgcc_s.*)

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list