Hi everybody, I'm trying to compile GCC in a Linux From Scratch distribution with a modified file tree, but I get an error on configuring GCC, here is the senario: I have a directory called /static that has all needed files to compile "things", by the way, I compile glibc-2.3.1 with it. So, I try to configure GCC like this: ../gcc-3.2.3/configure --prefix=/Programs/GCC/3.2.3 \ --enable-shared --enable-threads=posix \ --enable-__cxa_atexit --enable-clocale=gnu \ --enable-languages=c,c++ and I get this error: Configuring for a i686-pc-linux-gnulibc1 host. *** This configuration is not supported in the following subdirectories: target-libf2c target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc (Any other directories should still work fine.) Created "Makefile" in /Depot/Sources/gcc-build using "mh-frag" and "mt-frag" /static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot open crt1.o: No such file or directory collect2: ld returned 1 exit status *** The command 'gcc -o conftest -g -O2 conftest.c' failed. *** You must set the environment variable CC to a working compiler. than I try to compile a conftest by my selft, just to see what GCC tells me, and I get this: Reading specs from /static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs Configured with: ../gcc-3.2.1/configure --prefix=/static --disable-nls --disable-shared --with-as=/mnt/lfs/static/bin/as --with-ld=/mnt/lfs/static/bin/ld Thread model: posix gcc version 3.2.1 /static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=1 -D__GXX_ABI_VERSION=102 -D__ELF__ -Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i686__ -D__tune_pentiumpro__ conftest.c -quiet -dumpbase conftest.c -version -o /tmp/ccoyi8vl.s GNU CPP version 3.2.1 (cpplib) (i386 Linux/ELF) GNU C version 3.2.1 (i686-pc-linux-gnu) compiled by GNU C version 3.2.1. ignoring nonexistent directory "/static/i686-pc-linux-gnu/include" ignoring duplicate directory "/usr/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /static/include /static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include End of search list. /static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/as -V -Qy -o /tmp/ccIDZD7v.o /tmp/ccoyi8vl.s GNU assembler version 2.13.2 (i686-pc-linux-gnu) using BFD version 2.13.2 /static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/collect2 --eh-frame-hdr -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o conftest crt1.o crti.o /static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/crtbegin.o -L/static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 -L/static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/lib -L/static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../.. /tmp/ccIDZD7v.o -lgcc -lc -lgcc /static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/crtend.o crtn.o /static/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot open crt1.o: No such file or directory collect2: ld returned 1 exit status Any idea? Thanks any way! [] Thiago dos Santos Alves __________________________ xMail - www.milenio.com.br