Pagina 1 di 1

lfs e gcc

Inviato: ven 18 nov 2005, 21:46
da teme

Codice: Seleziona tutto

Bootstrapping the compiler
make[1]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
make CC=" stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/" CC_FOR_BUILD=" stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/" \
         STAGE_PREFIX=stage1/ \
         ADAFLAGS="" CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long-long -Wold-style-definition " libdir=/tools/lib LANGUAGES="c gcov gcov-dump " MAKEINFO="makeinfo --split-size=5000000" MAKEINFOFLAGS="--no-split" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" \
         CFLAGS="-g -O2" WERROR="" 
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../../gcc-3.4.3/gcc/mkconfig.sh config.h
config.h is unchanged
TARGET_CPU_DEFAULT="" \
HEADERS="config/i386/i386.h config/i386/unix.h config/i386/att.h config/dbxelf.h config/elfos.h config/svr4.h config/linux.h config/i386/linux.h defaults.h" DEFINES="" \
/bin/sh ../../gcc-3.4.3/gcc/mkconfig.sh tm.h
tm.h is unchanged
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../../gcc-3.4.3/gcc/mkconfig.sh bconfig.h
bconfig.h is unchanged
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genmodes \
 genmodes.o errors.o ../libiberty/libiberty.a
/tools/i686-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [genmodes] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2
lfs:/mnt/lfs/sources/gcc-build$ 
,che posso fare?

Inviato: sab 19 nov 2005, 8:32
da touchstyle
Ancora a compilare il compilatore?!?! :lol:

Dai un'occhiata qui : http://www.linuxquestions.org/questions ... ost1723821.

Ciao,
Touch.

[PS: Permaloso.]

Inviato: sab 19 nov 2005, 10:31
da teme
Il bello è che quella libreria statica ce l'ho....

Codice: Seleziona tutto

-rw-r--r--  1 root root 2544014 Sep 11 00:05 /usr/lib/libc.a

[P.P.S] Perchè permaloso?

Inviato: sab 19 nov 2005, 18:04
da touchstyle
Sicuro che il compilatore sia una versione corretta? Su LFS parlano di gcc-3.4.1, mentre sembra che tu abbia i sorgenti del 3.4.3.

Ciao,
Touch.

[P.P.P.S - Battuta da chan. Sidereus c'è riuscito?]