Hi, configured as: /home/nixman/gcc-4.8.1/configure \ --enable-shared \ --enable-static \ --enable-multilib \ --disable-nls \ --enable-languages=c,c++,fortran,go \ --enable-libstdcxx-time=yes \ --disable-libgomp \ --enable-lto \ --enable-checking=release \ --disable-libstdcxx-pch \ --disable-libstdcxx-debug \ --prefix=/home/nixman/prefix \ --with-{gmp,mpfr,mpc}=/home/nixman/prefix \ --host=x86_64-pc-openbsd5.4 \ --build=x86_64-pc-openbsd5.4 \ --target=x86_64-pc-openbsd5.4 \ --enable-bootstrap on configuring libstdc++ stage 1, I get the following error: Configuring stage 1 in x86_64-pc-openbsd5.4/libstdc++-v3 configure: creating cache ./config.cache checking build system type... x86_64-pc-openbsd5.4 checking host system type... x86_64-pc-openbsd5.4 checking target system type... x86_64-pc-openbsd5.4 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /home/nixman/gcc-4.8.1/libstdc++-v3/../install-sh -c -d checking for gawk... awk checking whether gmake sets $(MAKE)... yes checking for x86_64-pc-openbsd5.4-gcc... /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include accepts -g... yes checking for /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether /home/nixman/build/./gcc/xgcc -shared-libgcc -B/home/nixman/build/./gcc -nostdinc++ -L/home/nixman/build/x86_64-pc-openbsd5.4/libstdc++-v3/src -L/home/nixman/build/x86_64-pc-openbsd5.4/libstdc++-v3/src/.libs -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include accepts -g... yes checking how to run the C preprocessor... /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether ln -s works... yes checking for x86_64-pc-openbsd5.4-as... /home/nixman/build/./gcc/as checking for x86_64-pc-openbsd5.4-ar... ar checking for x86_64-pc-openbsd5.4-ranlib... ranlib checking whether to enable maintainer-specific portions of Makefiles... no configure: CPU config directory is cpu/i486 configure: OS config directory is os/bsd/openbsd checking how to print strings... print -r checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include ... /home/nixman/build/./gcc/collect-ld checking if the linker (/home/nixman/build/./gcc/collect-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/nixman/build/./gcc/nm checking the name lister (/home/nixman/build/./gcc/nm) interface... BSD nm checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /home/nixman/build/./gcc/collect-ld option to reload object files... -r checking for x86_64-pc-openbsd5.4-objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ checking for x86_64-pc-openbsd5.4-ar... (cached) ar checking for x86_64-pc-openbsd5.4-strip... strip checking for x86_64-pc-openbsd5.4-ranlib... (cached) ranlib checking command to parse /home/nixman/build/./gcc/nm output from /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include object... failed checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include supports -fno-rtti -fno-exceptions... no checking for /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include option to produce PIC... -fPIC -DPIC checking if /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include PIC flag -fPIC -DPIC works... yes checking if /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include static flag -static works... yes checking if /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include supports -c -o file.o... yes checking if /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include supports -c -o file.o... (cached) yes checking whether the /home/nixman/build/./gcc/xgcc -B/home/nixman/build/./gcc/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/bin/ -B/home/nixman/prefix/x86_64-pc-openbsd5.4/lib/ -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/include -isystem /home/nixman/prefix/x86_64-pc-openbsd5.4/sys-include linker (/home/nixman/build/./gcc/collect-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd5.4 ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. gmake[2]: *** [configure-stage1-target-libstdc++-v3] Error 1 gmake[2]: Leaving directory `/home/nixman/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/home/nixman/build' gmake: *** [all] Error 2 Ideas? -- Regards, niXman ___________________________________________________ Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows: http://sourceforge.net/projects/mingwbuilds/ ___________________________________________________ Another online IDE: http://liveworkspace.org/