glibc compilation don't find gcc

Alex xelahome at
Fri Jan 3 15:52:29 PST 2003


you seem right,
a file on the gcc file gave me :
/mnt/lfs/static/bin/gcc: ELF 32-bit LSB executable, Intel 80386, version 1,
dynamically linked (uses shared libs), stripped

It is really strange. I believe that I compile it in a static way.
In any case, thank you I will compile it statically


-----Message d'origine-----
De : lfs-support-bounce at
[mailto:lfs-support-bounce at]De la part de Bill's
Linux From Scratch Login
Envoye : samedi 4 janvier 2003 00:52
A : lfs-support at
Objet : Re: glibc compilation don't find gcc

On Sat, 4 Jan 2003, Alex wrote:

> I am at glibc compilation (chapter 6 of CVS version)
> When I do
> ../glibc-2.3.1/configure --prefix=/usr \
>     --disable-profile --enable-add-ons \
>     --libexecdir=/usr/bin
> I got the following :
> loading cache ./config.cache
> checking host system type... i586-pc-linux-gnu
> checking sysdep dirs... sysdeps/i386/elf
> linuxthreads/sysdeps/unix/sysv/linux/i386
> linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread
> sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix
> linuxthreads/sysdeps/i386/i586 linuxthreads/sysdeps/i386
> sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu
> sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet
> sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix
> sysdeps/posix sysdeps/i386/i586 sysdeps/i386/i486 sysdeps/i386/fpu
> sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96
> sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754
> sysdeps/generic/elf sysdeps/generic
> checking for a BSD compatible install... /static/bin/install -c
> checking whether ln -s works... yes
> checking for pwd... /static/bin/pwd
> checking build system type... i586-pc-linux-gnu
> checking for gcc... gcc
> checking version of gcc... v. ?.??, bad
> checking for gnumake... no
> checking for gmake... no
> checking for make... make
> checking version of make... 3.80, ok
> configure: error:
> *** These critical programs are missing or too old: gcc
> *** Check the INSTALL file for required versions.
> However if I check gcc in /static/bin I have :
> I have no name!:/static/bin# ls -l /static/bin/gcc
> -rwxr-xr-x    2 0        0           93488 Jan  3 23:35 /static/bin/gcc

Mine looks like this

-rwxr-xr-x    2 root     root       724257 Oct  7 16:16 /static/bin/gcc

Because of the size difference, I think yours is not static.

Do file on the gcc and if it is dynamic, you need to fix that.
While your there, check all your /static /sbin and /bin and whatever.

> What is wrong? Have you any clue?
> Thank you in advance
> Alex

Bill Maltby
lfsbill at

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list