From 67634dbe30986b2ee54e4245ef0b0d5efacb5312 Mon Sep 17 00:00:00 2001 From: Denis Benato Date: Sat, 7 Dec 2024 17:02:14 +0100 Subject: [PATCH] cannot find -lc: File o directory non esistente --- build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index a173e0b..338a1ed 100755 --- a/build.sh +++ b/build.sh @@ -275,7 +275,7 @@ if [ ! -f "$STEPS_DIR/glibc" ]; then -shared \ -x c /dev/null \ -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" @@ -332,9 +332,9 @@ if [ ! -f "$STEPS_DIR/gcc-step2" ]; then --enable-languages=c # Repeat this - make -j 32 all-gcc - make -j 32 install-gcc -exit 0 + #make -j 32 all-gcc + #make -j 32 install-gcc +#exit 0 make -j 32 all-target-libgcc # if build fails add --disable-libsanitizer 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++ touch "$STEPS_DIR/gcc-step2" fi -exit 0 + #export CC="$LFS_TGT-gcc" #export CXX="$LFS_TGT-g++" #export AS="$LFS_TGT-as" @@ -374,7 +374,7 @@ if [ ! -f "$STEPS_DIR/glibc-step2" ]; then #rm -rf "$LFS_BUILD/glibc" touch "$STEPS_DIR/glibc-step2" fi - +exit 0 #unset CC #unset CXX #unset LD