Hello, [please cc me since I'm not subscribed to the list] I try to build a crosscompiler for the hurd. I've installed mig, machheaders, hurdheaders, glibcheaders. Then I try to compile gcc: ../gcc/configure --prefix=/usr/local/hurd --target=i586-pc-gnu --with-gnu-as --with-gnu-ld make This causes an error, if I retype make, this appears: xgcc: /home/ness/tmp/hurd/gcc.build/gcc/specs: Bad file descriptor xgcc: /home/ness/tmp/hurd/gcc.build/gcc/specs: Bad file descriptor xgcc: /home/ness/tmp/hurd/gcc.build/gcc/specs: Bad file descriptor make[1]: Entering directory `/home/ness/tmp/hurd/gcc.build/libiberty' make[2]: Entering directory `/home/ness/tmp/hurd/gcc.build/libiberty/testsuite' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ness/tmp/hurd/gcc.build/libiberty/testsuite' make[1]: Leaving directory `/home/ness/tmp/hurd/gcc.build/libiberty' xgcc: /home/ness/tmp/hurd/gcc.build/gcc/specs: Bad file descriptor xgcc: /home/ness/tmp/hurd/gcc.build/gcc/specs: Bad file descriptor xgcc: /home/ness/tmp/hurd/gcc.build/gcc/specs: Bad file descriptor make[1]: Entering directory `/home/ness/tmp/hurd/gcc.build/intl' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/ness/tmp/hurd/gcc.build/intl' xgcc: /home/ness/tmp/hurd/gcc.build/gcc/specs: Bad file descriptor xgcc: /home/ness/tmp/hurd/gcc.build/gcc/specs: Bad file descriptor xgcc: /home/ness/tmp/hurd/gcc.build/gcc/specs: Bad file descriptor make[1]: Entering directory `/home/ness/tmp/hurd/gcc.build/gcc' if [ -f specs.ready ] ; then \ true; \ else \ echo timestamp > specs.ready; \ fi /home/ness/tmp/hurd/gcc.build/gcc/xgcc -B/home/ness/tmp/hurd/gcc.build/gcc/ -B/usr/local/hurd/i586-pc-gnu/bin/ -B/usr/local/hurd/i586-pc-gnu/lib/ -isystem /usr/local/hurd/i586-pc-gnu/include -isystem /usr/local/hurd/i586-pc-gnu/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time \ -Dinhibit_libc -c ../../gcc/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o xgcc: /home/ness/tmp/hurd/gcc.build/gcc/specs: Bad file descriptor make[1]: *** [crtbegin.o] Error 1 make[1]: Leaving directory `/home/ness/tmp/hurd/gcc.build/gcc' make: *** [all-gcc] Error 2 But /home/ness/tmp/hurd/gcc.build/gcc/specs absolutely exists (I even tried to compile on an other filesystem, same error...), It looks like that: *asm: %{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} *asm_debug: %{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}} *asm_final: *asm_options: %a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O} *invoke_as: %{!S:-o %|.s | as %(asm_options) %|.s %A } *cpp: %{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE} *cpp_options: %(cpp_unique_options) %1 %{m*} %{std*} %{ansi} %{W*&pedantic*} %{w} %{f*} %{g*:%{!g0:%{!fno-working-directory:-fworking-directory}}} %{O*} %{undef} *cpp_debug_options: %{d*} *cpp_unique_options: %{C|CC:%{!E:%eGCC does not support -C or -CC without -E}} %{!Q:-quiet} %{nostdinc*} %{C} %{CC} %{v} %{I*} %{P} %I %{MD:-MD %{!o:%b.d}%{o*:%.d%*}} %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}} %{trigraphs} %{remap} %{g3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i %{E|M|MM:%W{o*}} *trad_capable_cpp: cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp} *cc1: %(cc1_cpu) *cc1_options: %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*} %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}} %{ g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi} %{v:-version} %{pg:-p} %{p} %{f*} %{undef} %{Qn:-fno-ident} %{--help:--help} %{--target-help:--target-help} %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j} %{-param*} *cc1plus: *link_gcc_c_sequence: %{static:--start-group} %G %L %{static:--end-group}%{!static:%G} *endfile: %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s *link: %{!static:--eh-frame-hdr} -m elf_i386 %{shared:-shared} %{!shared: %{!static: %{rdynamic:-export-dynamic} %{!dynamic-linker:-dynamic-linker /lib/ld.so}} %{static:-static}} *lib: %{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} *libgcc: %{static|static-libgcc:-lgcc -lgcc_eh}%{!static:%{!static-libgcc:%{!shared:%{!shared-libgcc:-lgcc -lgcc_eh}%{shared-libgcc:-lgcc_s%M -lgcc}}%{shared:%{shared-libgcc:-lgcc_s%M}%{!shared-libgcc:-lgcc} }}} *startfile: %{!shared: %{!static: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} %{static:crt0.o%s}} crti.o%s %{static:crtbeginT.o%s} %{!static:%{!shared:crtbegin.o%s} %{shared:crtb eginS.o%s}} *switches_need_spaces: *cross_compile: 1 *version: 3.4.3 *multilib: . ; *multilib_defaults: *multilib_extra: *multilib_matches: *multilib_exclusions: *multilib_options: *linker: collect2 *link_libgcc: %D *md_exec_prefix: *md_startfile_prefix: *md_startfile_prefix_1: *startfile_prefix_spec: *sysroot_suffix_spec: *sysroot_hdrs_suffix_spec: *cc1_cpu: %{!mtune*: %{m386:mtune=i386 %n`-m386' is deprecated. Use `-march=i386' or `-mtune=i386' instead. } %{m486:-mtune=i486 %n`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead. } %{mpentium:-mtune=pentium %n`-mpentium' is deprecated. Use `-march=pentium' or `-mtune=pentium' instead. } %{mpentiumpro:-mtune=pentiumpro %n`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mtune=pentiumpro' instead. } %{mcpu=*:-mtune=%* %n`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. }} %<mcpu=* %{mpni:-msse3 %n`-mpni' is deprecated. Use `-msse3' instead. } %{mno-pni:-mno-sse3 %n`-mno-pni' is deprecated. Use `-mno-sse3' instead. } %{mintel-syntax:-masm=intel %n`-mintel-syntax' is deprecated. Use `-masm=intel' instead. } %{mno-intel-syntax:-masm=att %n`-mno-intel-syntax' is deprecated. Use `-masm=att' instead. } *link_command: %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S: %(linker) %l %{pie:-pie} %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}} %{stat ic:} %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate:-lgcov} %{!nostdlib:%{!nodefaultlibs:%(link_gcc_c_sequence)}} %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}} What does that mean, what do I have to do for getting this working? uname -a: Linux pc_tom_gentoo 2.6.11-gentoo-r6 #2 Sat Apr 9 21:42:04 CEST 2005 x86_64 AMD Athlon(tm) 64 Processor 2800+ AuthenticAMD GNU/Linux I tried to compile a gcc-3.4.3, cvsversion, and gcc-core-3.4.3, all the same error...