Section 5.5.1 in LFS Version 6.8 and I'm using Fedora 15 as the host system.
Quote:
Using - - disable- shared means that the libgcc_ eh. a file isn't created and installed. The Glibc package
depends on this library as it uses - lgcc_ eh within its build system. This dependency can be satisfied by creating a
symlink to libgcc. a, since that file will end up containing the objects normally contained in libgcc_ eh. a:
Code:
ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | \
sed 's/libgcc/&_eh/'`
|
This command gives me the following error:
Code:
ln: failed to create symbolic link 'x86_64-lfs-linux-gnu-gcc -print-libgcc-file-name | sed \'s/libgcc/&_eh\'': No such file or directory
I ran a couple of finds and came up with these locations:
Code:
/mnt/lfs/tools/bin/x86_64-lfs-linux-gnu-gcc
and
Code:
/mnt/lfs/sources/gcc-build/gcc/libgcc.a
/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc/libgcc.a
/mnt/lfs/tools/lib/gcc/x86_64-lfs-linux-gnu/4.5.2/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/32/libgcc.a
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/libgcc.a
This is second time I've run into this problem. The first time I found
http://www.linuxquestions.org/questi...talled-764479/ and decided just to start over.
Is this a place where I'll have to deviate from the book because I'm using x86_64? If so, how would I modify the command and where can I learn more about why?