problems compiling glibc

Jeroen Coumans jeroencoumans at hotmail.com
Tue Nov 6 13:02:30 PST 2001


----- Original Message -----
From: "Elmar Weber" <elmar_weber at gmx.de>
To: <lfs-support at linuxfromscratch.org>
Sent: Tuesday, November 06, 2001 6:27 PM
Subject: problems compiling glibc


> hi,
>
> when i compile the glibc as mentioned in the lfs book, i get the
> following error message (and output):
> checking whether the C compiler (gcc  ) works... \c
> no
> checking whether the C compiler (gcc  ) is a cross-compiler... \c
> (cached) \c
> yes
> checking whether we are using GNU C... \c
> no
> configure: error: GNU libc must be compiled using GNU CC
>
> ----------------
>
> i have installed the gcc, but why does it not work?
>
> i start the commands from the directory /lfs/usr/src/g/glibc-2.2.4
> i have extracted the glibc-linuxthreads-2.2.4.tar.bz2 archieve to the
> same folder.
Is gcc statically linked? Verify by /usr/bin/gcc, this should tell it. If
not, go back to chapter 5 and reinstall gcc (make sure you use the correct
path!). Also, check if you have all the symlinks for cc (see instructions
for gcc)
HTH
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list