Building linux toolchain - glibc 2.3.2. configure fails

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View

I'am trying to build the linux toolchain for my pentium iv
machine, specified the target as i686-pc-linux-gnu.Used the versions
-kernel-2.4.22,binutils-,gcc-3.2.1 to begin the toolchain
build.Error occured during configuration part of glibc.It is as
follows :

$ ../glibc-2.3.2/configure --host=$TARGET --prefix="/usr"
--enable-add-ons --with-headers=$/include
configure: WARNING: If you wanted to set the --build type, don't use
    If a cross compiler is detected then cross compile mode will be
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking sysdep dirs... sysdeps/i386/elf
linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread
sysdeps/pthread linuxthreads/sysdeps/unix/sysv
linuxthreads/sysdeps/unix linuxthreads/sysdeps/i386/i686
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/i686/fpu sysdeps/i386/i686 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... /usr/bin/install -c
checking whether ln -s works... yes
checking for pwd... /bin/pwd
checking for i686-pc-linux-gnu-gcc... no
checking for i686-pc-linux-gnu-cc... no
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.79.1, ok
configure: error:
*** These critical programs are missing or too old: gcc
*** Check the INSTALL file for required versions.

Why this error occurs?If I specify the target as i386-linux ,this
problem does not occur.Isn't the target type specified correct?Which
is the target type for pentium IV system.I am using Red HAT Linux 9
,gcc version 3.2.2 on my system.If the target type is not the
problem,then what else may the problem.Pls help.


Re: Building linux toolchain - glibc 2.3.2. configure fails
Quoted text here. Click to load it

If you are building a native toolchain for your workstation, you can just
leave off all the --host etc. options.   No need for 'em.
- Dan

Site Timeline