Hi, I encountered the following error while building a cross compiler for ia64-linux-elf on my x86 ubuntu. Checking multilib configuration for libiberty... Configuring in ia64-linux-elf/libiberty configure: loading cache ./config.cache ... [lot of configure output] ... checking for pid_t... yes checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[1]: *** [configure-target-libiberty] Error 1 make[1]: Leaving directory `/home/knight/build/gcc-4.2.1/ia64-linux-elf' make: *** [all] Error 2 I'd built a ia64-linux-elf binutils-2.18, and have the ia64 libc 2.6 in sysroot. A bit of googling and I was able to run the failing configure command responsible for setting GCC_NO_EXECUTABLES. The output of that is pasted below. It seems that the driver program is passing '-dn -N so' option to ld, where it thinks 'so' is a file. If I'm right this option is needed for intel linkers? (I did check that my ia64-linux-elf-ld is able to generate exe-s) Any help or pointers on what I did wrong would be appreciated. Please tell if more info is needed. Thnx! ========== $ /home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc/xgcc -B/home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc/ -B/home/knight/local/ia64/ia64-linux-elf/bin/ -B/home/knight/local/ia64/ia64-linux-elf/lib/ -isystem /home/knight/local/ia64/ia64-linux-elf/include -isystem /home/knight/local/ia64/ia64-linux-elf/sys-include -o conftest -O2 -g -O2 -v conftest.c Reading specs from /home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc/specs Target: ia64-linux-elf Configured with: /home/knight/gcc-4.2.1/configure --prefix=/home/knight/local/ia64 --target=ia64-linux-elf --with-sysroot=/home/knight/build/sysroot/ia64-linux-elf Thread model: single gcc version 4.2.1 /home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc/cc1 -quiet -v -iprefix /home/knight/build/gcc-4.2.1/ia64-linux-elf/gcc/../lib/gcc/ia64-linux-elf/4.2.1/ -isystem /home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc/include -isystem /home/knight/local/ia64/ia64-linux-elf/include -isystem /home/knight/local/ia64/ia64-linux-elf/sys-include conftest.c -quiet -dumpbase conftest.c -auxbase conftest -g -O2 -O2 -version -o /tmp/ccsEgo5O.s ignoring nonexistent directory "/home/knight/local/ia64/ia64-linux-elf/include" ignoring nonexistent directory "/home/knight/local/ia64/ia64-linux-elf/sys-include" ignoring nonexistent directory "/home/knight/build/gcc-4.2.1/ia64-linux-elf/gcc/../lib/gcc/ia64-linux-elf/4.2.1/include" ignoring nonexistent directory "/home/knight/build/gcc-4.2.1/ia64-linux-elf/gcc/../lib/gcc/ia64-linux-elf/4.2.1/../../../../ia64-linux-elf/include" ignoring nonexistent directory "/home/knight/build/sysroot/ia64-linux-elf/usr/local/include" ignoring nonexistent directory "/home/knight/local/ia64/lib/gcc/ia64-linux-elf/4.2.1/include" ignoring nonexistent directory "/home/knight/local/ia64/lib/../ia64-linux-elf/include" #include "..." search starts here: #include <...> search starts here: /home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc/include /home/knight/build/sysroot/ia64-linux-elf/usr/include End of search list. GNU C version 4.2.1 (ia64-linux-elf) compiled by GNU C version 4.1.2 (Ubuntu 4.1.2-0ubuntu4). GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=62424 Compiler executable checksum: 0c7626256548d0161140197d0a30955c /home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc/as --traditional-format -N so -o /tmp/ccm0O18C.o /tmp/ccsEgo5O.s /home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc/collect2 --sysroot=/home/knight/build/sysroot/ia64-linux-elf -dn -N so -o conftest crt0.o /home/knight/build/sysroot/ia64-linux-elf/usr/lib/crti.o /home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc/crtbegin.o -L/home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc -L/home/knight/local/ia64/ia64-linux-elf/bin -L/home/knight/local/ia64/ia64-linux-elf/lib -L/home/knight/local/ia64/lib/../ia64-linux-elf/lib -L/home/knight/build/sysroot/ia64-linux-elf/lib -L/home/knight/build/sysroot/ia64-linux-elf/usr/lib /tmp/ccm0O18C.o -lgcc -lg -lc -lgcc /home/knight/build/gcc-4.2.1/ia64-linux-elf/./gcc/crtend.o /home/knight/build/sysroot/ia64-linux-elf/usr/lib/crtn.o /home/knight/local/ia64/ia64-linux-elf/bin/ld: so: No such file: No such file or directory collect2: ld returned 1 exit status ========= -jb -- No snowflake in an avalanche ever feels responsible.