Thanks, Ian. That brought me further, but still no cigar. Does the following ring a bell? /usr/ports/gcc390/build460/./gcc/xgcc -B/usr/ports/gcc390/build460/./gcc/ -B/usr/ports/gcc390/inst/s390-ibm-linux/bin/ -B/usr/ports/gcc390/inst/s390-ibm-linux/lib/ -isystem /usr/ports/gcc390/inst/s390-ibm-linux/include -isystem /usr/ports/gcc390/inst/s390-ibm-linux/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc -mlong-double-128 -I. -I. -I../.././gcc -I/usr/src/gcc-4.6.0/libgcc -I/usr/src/gcc-4.6.0/libgcc/. -I/usr/src/gcc-4.6.0/libgcc/../gcc -I/usr/src/gcc-4.6.0/libgcc/../include -I/usr/src/gcc-4.6.0/libgcc/../libdecnumber/dpd -I/usr/src/gcc-4.6.0/libgcc/../libdecnumber -DHAVE_CC_TLS -o decContext.o -MT decContext.o -MD -MP -MF decContext.dep -c /usr/src/gcc-4.6.0/libgcc/../libdecnumber/decContext.c /usr/src/gcc-4.6.0/libgcc/../libdecnumber/decContext.c:33:43: fatal error: string.h: No such file or directory compilation terminated. So I looked for string.h in the source: u@ubuntu:/usr/src/gcc-4.6.0$ find . -name 'string.h' ./libssp/ssp/string.h ./fixincludes/tests/base/string.h ./libstdc++-v3/include/c_compatibility/string.h On 21 May 2011 16:31, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: > "John P. Hartmann" <jphartmann@xxxxxxxxx> writes: > >> Building a cross compiler from i686 (the platform of my linux) to s390 >> I get the following when the bootstrap process is configuring in >> s390-ibm-linux/libgcc: >> >> configure:3268: /usr/ports/gcc390/build460/./gcc/xgcc >> -B/usr/ports/gcc390/build460/./gcc/ >> -B/usr/ports/gcc390/inst/s390-ibm-linux/bin/ >> -B/usr/ports/gcc390/inst/s390-ibm-linux/lib/ -isystem >> /usr/ports/gcc390/inst/s390-ibm-linux/include -isystem >> /usr/ports/gcc390/inst/s390-ibm-linux/sys-include -c -g -O2 >> conftest.c >&5 >> exec: 89: -m31: not found > > This looks like you don't have a cross-assembler. You need to make and > install the GNU binutils first with the same --host, --target, and > --prefix options. Then start again with gcc in a brand new empty build > directory. > > Ian >