cannot find -lc: File o directory non esistente
This commit is contained in:
parent
e7501a793a
commit
67634dbe30
1 changed files with 6 additions and 6 deletions
12
build.sh
12
build.sh
|
|
@ -275,7 +275,7 @@ if [ ! -f "$STEPS_DIR/glibc" ]; then
|
||||||
-shared \
|
-shared \
|
||||||
-x c /dev/null \
|
-x c /dev/null \
|
||||||
-o $LFS/usr/lib/libc.so
|
-o $LFS/usr/lib/libc.so
|
||||||
#touch $LFS/usr/include/gnu/stubs.h
|
touch $LFS/usr/include/gnu/stubs.h
|
||||||
|
|
||||||
#export LD_LIBRARY_PATH="$LD_LIBRARY_PATH_old"
|
#export LD_LIBRARY_PATH="$LD_LIBRARY_PATH_old"
|
||||||
|
|
||||||
|
|
@ -332,9 +332,9 @@ if [ ! -f "$STEPS_DIR/gcc-step2" ]; then
|
||||||
--enable-languages=c
|
--enable-languages=c
|
||||||
|
|
||||||
# Repeat this
|
# Repeat this
|
||||||
make -j 32 all-gcc
|
#make -j 32 all-gcc
|
||||||
make -j 32 install-gcc
|
#make -j 32 install-gcc
|
||||||
exit 0
|
#exit 0
|
||||||
make -j 32 all-target-libgcc # if build fails add --disable-libsanitizer
|
make -j 32 all-target-libgcc # if build fails add --disable-libsanitizer
|
||||||
make -j 32 install-target-libgcc
|
make -j 32 install-target-libgcc
|
||||||
|
|
||||||
|
|
@ -342,7 +342,7 @@ exit 0
|
||||||
#rm -rf "$LFS_BUILD/gcc/build" # Do not remove the whole gcc directory: we need it for libstdc++
|
#rm -rf "$LFS_BUILD/gcc/build" # Do not remove the whole gcc directory: we need it for libstdc++
|
||||||
touch "$STEPS_DIR/gcc-step2"
|
touch "$STEPS_DIR/gcc-step2"
|
||||||
fi
|
fi
|
||||||
exit 0
|
|
||||||
#export CC="$LFS_TGT-gcc"
|
#export CC="$LFS_TGT-gcc"
|
||||||
#export CXX="$LFS_TGT-g++"
|
#export CXX="$LFS_TGT-g++"
|
||||||
#export AS="$LFS_TGT-as"
|
#export AS="$LFS_TGT-as"
|
||||||
|
|
@ -374,7 +374,7 @@ if [ ! -f "$STEPS_DIR/glibc-step2" ]; then
|
||||||
#rm -rf "$LFS_BUILD/glibc"
|
#rm -rf "$LFS_BUILD/glibc"
|
||||||
touch "$STEPS_DIR/glibc-step2"
|
touch "$STEPS_DIR/glibc-step2"
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
#unset CC
|
#unset CC
|
||||||
#unset CXX
|
#unset CXX
|
||||||
#unset LD
|
#unset LD
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue