This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -m31 rejected when building libgcc for cross compiler for s390 (31 bit) gcc 4.6.0


"John P. Hartmann" <jphartmann@gmail.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]