got a question for you.I read the configure for gcc and it does not look
like the configure output for gcc in section 5.2 I believe it checked all
the paths to figure out what to use what should I do. Also should I be
deleteing the binutils source and build after installing binutils
similarly all other packages I am installing. I do not want to compile
gcc again just for the kernel headers to unpack unproperly afterward .
gcc configure give me the following is this
correctlfs:/mnt/MOUNTPOINT/tools/gcc-build$ CC="gcc -B/usr/bin/"
../gcc-4.1.2/configure --prefix=/tools --with-local-prefix=/tools
--disable-nls --enable-shared --enable-languages=c
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc -B/usr/bin/
checking whether the C compiler (gcc -B/usr/bin/ ) works... yes
checking whether the C compiler (gcc -B/usr/bin/ ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc -B/usr/bin/ accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16
$$f1 $$f2
checking for correct version of gmp.h... no
*** This configuration is not supported in the following subdirectories:
target-libada gnattools target-libstdc++-v3 target-libgfortran
target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar
target-libobjc
(Any other directories should still work fine.)
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for i686-pc-linux-gnu-ld... /usr/bin/ld
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-cc... no
checking for cc... cc
checking for i686-pc-linux-gnu-c++... no
checking for c++... c++
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for i686-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking for i686-pc-linux-gnu-gcj... no
checking for gcj... no
checking for i686-pc-linux-gnu-gfortran... no
checking for gfortran... no
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
lfs:/mnt/MOUNTPOINT/tools/gcc-build$ gcc -print-prog-name=ld
ld
lfs:/mnt/MOUNTPOINT/tools/gcc-build$
note inaddition that gcc pointed to the appropriate linker when
executring gcc -print-prog-name=ld. I have been checking my work so I
think everything is ok but i just want to be sure. note that the
configure out put does not match
checking what assembler to use...
/tools/i686-pc-linux-gnu/bin/as
checking what linker to use... /tools/i686-pc-linux-gnu/bin/ld
there is why to much printed is this ok
thanks.
==============Original message text===============
On Mon, 28 Jul 2008 5:17:34 EDT "PEEYUSH CHANDEL" wrote:
hi Daniel,
i think that you had done mistake in binutils installation plesae check the
command you have given after 'make install' in binultils
i think you missed something about ld in that commands
and one more think that please don't move foreward without solving this
error
and if u r using lfs 6.3 book so why are u using that version of kernel you
should use 2.6.22.x or you can use 2.6.22.19
please do everything according to the book
OK!
best of luck
Grow linux Grow lfs
-Peeyush Chandel(INDIA)
On Sun, Jul 27, 2008 at 1:36 AM, Daniel Corda <[EMAIL PROTECTED]> wrote:
> I am building LFS on a Lenovo T60 I have some errors in section 5.5.1 and
> I am confused about several things. I copied the headers asm-generic and
> linux into the include/asm and include folder in $LFS/tools/include now I
> also ha executed make mrproper this is fine when I execute make
> headers_check in &LFS/sources/linux-2.6.26 I get the following:
> CHK include/linux/version.h
> UPD include/linux/version.h
> HOSTCC scipts/basic/fixdep
> collect2: cannot find 'ld'
> make[1]: *** [scripts/basic/fixdep] Error 1
> make: *** [scripts_basic] Error 2
>
> when executing the next command I get similar errors and the cp command
> after this does not work. Please help. I do not know if I should move on
> to Glibc. gcc and binutils installed fine Thanks.
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support> FAQ:
> http://www.linuxfromscratch.org/lfs/faq.html> Unsubscribe: See the above
> information page
>
===========End of original message text===========
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page