I ran into this error while attempting building 4.2.4 configured as below. Any suggestion is appreciated. thanks in advance.
/***** configuration *****/ CFLAGS=-O2 $DEPACK_DIR/gcc-4.2.4/configure --target=mips64vrel-elf \ --prefix=$PREFIX_DIR --enable-languages=c,c++ --disable-__cxa_atexit \ --with-gnu-as --with-gnu-ld --with-newlib \ --with-gxx-include-dir=$PREFIX_DIR/mips64vrel-elf/include -v \ 2>&1 | tee configure.log /***** error: *****/ ...snip... Adding multilib support to Makefile in /ecostools/src/gcc-4.2.4/libiberty with_multisubdir=long64/vr5000 Running configure in multilib subdir long64/vr5400 pwd: /tmp/build-mips64vrel-elf-20080520/gcc/mips64vrel-elf configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo --split-size=5000000 checking for perl... perl checking build system type... i686-pc-cygwin checking host system type... mips64vrel-unknown-elf checking for mips64vrel-elf-ar... /ecostools/mips64vrel-elf-20080520/mips64vrel- elf/bin/ar checking for mips64vrel-elf-ranlib... /ecostools/mips64vrel-elf-20080520/mips64v rel-elf/bin/ranlib checking for mips64vrel-elf-gcc... /tmp/build-mips64vrel-elf-20080520/gcc/./gcc/ xgcc -B/tmp/build-mips64vrel-elf-20080520/gcc/./gcc/ -nostdinc -B/tmp/build-mips 64vrel-elf-20080520/gcc/mips64vrel-elf/newlib/ -isystem /tmp/build-mips64vrel-el f-20080520/gcc/mips64vrel-elf/newlib/targ-include -isystem /ecostools/src/gcc-4. 2.4/newlib/libc/include -B/ecostools/mips64vrel-elf-20080520/mips64vrel-elf/bin/ -B/ecostools/mips64vrel-elf-20080520/mips64vrel-elf/lib/ -isystem /ecostools/mi ps64vrel-elf-20080520/mips64vrel-elf/include -isystem /ecostools/mips64vrel-elf- 20080520/mips64vrel-elf/sys-include checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/build-mips64vrel-elf-20080520/gcc/./gcc/xgcc -B/tmp/build- mips64vrel-elf-20080520/gcc/./gcc/ -nostdinc -B/tmp/build-mips64vrel-elf-2008052 0/gcc/mips64vrel-elf/newlib/ -isystem /tmp/build-mips64vrel-elf-20080520/gcc/mip s64vrel-elf/newlib/targ-include -isystem /ecostools/src/gcc-4.2.4/newlib/libc/in clude -B/ecostools/mips64vrel-elf-20080520/mips64vrel-elf/bin/ -B/ecostools/mips 64vrel-elf-20080520/mips64vrel-elf/lib/ -isystem /ecostools/mips64vrel-elf-20080 520/mips64vrel-elf/include -isystem /ecostools/mips64vrel-elf-20080520/mips64vre l-elf/sys-include accepts -g... yes checking for /tmp/build-mips64vrel-elf-20080520/gcc/./gcc/xgcc -B/tmp/build-mips 64vrel-elf-20080520/gcc/./gcc/ -nostdinc -B/tmp/build-mips64vrel-elf-20080520/gc c/mips64vrel-elf/newlib/ -isystem /tmp/build-mips64vrel-elf-20080520/gcc/mips64v rel-elf/newlib/targ-include -isystem /ecostools/src/gcc-4.2.4/newlib/libc/includ e -B/ecostools/mips64vrel-elf-20080520/mips64vrel-elf/bin/ -B/ecostools/mips64vr el-elf-20080520/mips64vrel-elf/lib/ -isystem /ecostools/mips64vrel-elf-20080520/ mips64vrel-elf/include -isystem /ecostools/mips64vrel-elf-20080520/mips64vrel-el f/sys-include option to accept ANSI C... none needed checking how to run the C preprocessor... /tmp/build-mips64vrel-elf-20080520/gcc /./gcc/xgcc -B/tmp/build-mips64vrel-elf-20080520/gcc/./gcc/ -nostdinc -B/tmp/bui ld-mips64vrel-elf-20080520/gcc/mips64vrel-elf/newlib/ -isystem /tmp/build-mips64 vrel-elf-20080520/gcc/mips64vrel-elf/newlib/targ-include -isystem /ecostools/src /gcc-4.2.4/newlib/libc/include -B/ecostools/mips64vrel-elf-20080520/mips64vrel-e lf/bin/ -B/ecostools/mips64vrel-elf-20080520/mips64vrel-elf/lib/ -isystem /ecost ools/mips64vrel-elf-20080520/mips64vrel-elf/include -isystem /ecostools/mips64vr el-elf-20080520/mips64vrel-elf/sys-include -E checking whether /tmp/build-mips64vrel-elf-20080520/gcc/./gcc/xgcc -B/tmp/build- mips64vrel-elf-20080520/gcc/./gcc/ -nostdinc -B/tmp/build-mips64vrel-elf-2008052 0/gcc/mips64vrel-elf/newlib/ -isystem /tmp/build-mips64vrel-elf-20080520/gcc/mip s64vrel-elf/newlib/targ-include -isystem /ecostools/src/gcc-4.2.4/newlib/libc/in clude -B/ecostools/mips64vrel-elf-20080520/mips64vrel-elf/bin/ -B/ecostools/mips 64vrel-elf-20080520/mips64vrel-elf/lib/ -isystem /ecostools/mips64vrel-elf-20080 520/mips64vrel-elf/include -isystem /ecostools/mips64vrel-elf-20080520/mips64vre l-elf/sys-include accepts -Wc++-compat... yes checking whether /tmp/build-mips64vrel-elf-20080520/gcc/./gcc/xgcc -B/tmp/build- mips64vrel-elf-20080520/gcc/./gcc/ -nostdinc -B/tmp/build-mips64vrel-elf-2008052 0/gcc/mips64vrel-elf/newlib/ -isystem /tmp/build-mips64vrel-elf-20080520/gcc/mip s64vrel-elf/newlib/targ-include -isystem /ecostools/src/gcc-4.2.4/newlib/libc/in clude -B/ecostools/mips64vrel-elf-20080520/mips64vrel-elf/bin/ -B/ecostools/mips 64vrel-elf-20080520/mips64vrel-elf/lib/ -isystem /ecostools/mips64vrel-elf-20080 520/mips64vrel-elf/include -isystem /ecostools/mips64vrel-elf-20080520/mips64vre l-elf/sys-include and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for a BSD-compatible install... /usr/bin/install -c checking for sys/file.h... yes checking for sys/param.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for malloc.h... yes checking for string.h... yes checking for unistd.h... yes checking for strings.h... no checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... yes checking for sys/mman.h... no checking for fcntl.h... yes checking for alloca.h... yes checking for sys/pstat.h... no checking for sys/sysmp.h... no checking for sys/sysinfo.h... no checking for machine/hal_sysinfo.h... no checking for sys/table.h... no checking for sys/sysctl.h... no checking for sys/systemcfg.h... no checking for stdint.h... yes checking for stdio_ext.h... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... no checking for strings.h... (cached) no checking for inttypes.h... yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for int... yes checking size of int... 4 checking for uintptr_t... yes checking for a 64-bit type... uint64_t checking for pid_t... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... no checking for working mmap... no checking for working strncmp... no updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile mkdir: cannot create directory `': No such file or directory config.status: error: cannot create directory "" make[1]: *** [configure-target-libiberty] Error 1 make[1]: Leaving directory `/tmp/build-mips64vrel-elf-20080520/gcc' make: *** [all] Error 2 -- Summary: target mips64vrel-elf, configure-target-libiberty error Product: gcc Version: 4.2.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marco at sitek dot it http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36301