On 2/23/06, Terror Duizel <[EMAIL PROTECTED]> wrote:
> i did everything as the book says but i get the next error when bootstrap
> gcc-3.4.3:
>
> mv libgcc_s.so.1.tmp libgcc_s.so.1 && ln -s libgcc_s.so.1 libgcc_s.so
> /tools/i686-pc-linux-gnu/bin/ld:/usr/lib/libc.so: file format not
> recognized; treating as linker script
> /tools/i686-pc-linux-gnu/bin/ld:/usr/lib/libc.so:5: syntax error
> collect2: ld returned 1 exit status
What's your host distro?
As a workaround, try the following after clearing the gcc-build
directory. Change --enable-shared to --disable-shared in the
configure line. Then, if everything completes successfully, run the
following command after `make install':
ln -sv libgcc.a `gcc -print-libgcc-file-name | \
sed 's/libgcc/&_eh/'`
This should give you a symlink libgcc_eh.a -> libgcc.a in
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page