Opened 13 years ago
Closed 13 years ago
#2929 closed task (invalid)
Trouble make installing gcc with 6.8
Reported by: | Dan | Owned by: | |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | gcc 6.8 libgcc.a |
Cc: |
Description
Hello. Up to this point everything appears to be correct. when I type make install I get
/usr/bin/install -c -m 644 libgcc.a /tools/lib/gcc/i686-lfs-linux-gnu/4.5.2/ /usr/bin/install: cannot stat `libgcc.a': No such file or directory make[2]: * [install-leaf] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc' make[1]: * [install-target-libgcc] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/gcc-build' make: * [install] Error 2
I realized after reading the next step that it was implying that I should create the symbolic link first. So I did:
ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | \
sed 's/libgcc/&_eh/'`
It created the file $LFS/source/gcc-build/libgcc_eh.a
when I run make install again I get the same error.
I realized that perhaps this file is supposed to be in the $LFS/source/gcc-4.5.2/ directory rather than the build directory so I entered that directory and ran the the symbolic link script again. Same problem. Any suggestions?
Ask on lfs-support. This is the wrong forum for this type of problem.