Host/Target specific installation notes for GCC - GNU Project - Free Software Foundation (FSF)
Doug Rowland
rowland@belka.space.umn.edu
Wed Nov 6 11:30:00 GMT 2002
Does anyone know how to build a cross-compiler to produce sparc-v7
executables on a Mac OS X / Darwin host?
Whenever I try to build gcc using the target sparc-aout I get the
following error message:
<command line>:1:10: warning: "cpu" re-asserted
<command line>:1:14: warning: "machine" re-asserted
/Volumes/20_GB_USB/builds/sparc/gcc-3.1/gcc/xgcc
-B/Volumes/20_GB_USB/builds/sparc/gcc-3.1/gcc/ -nostdinc
-B/Volumes/20_GB_USB/builds/sparc/gcc-3.1/sparc-aout/newlib/ -isystem
/Volumes/20_GB_USB/builds/sparc/gcc-3.1/sparc-aout/newlib/targ-include
-isystem /Volumes/20_GB_USB/sparcgcc/gcc-3.1/newlib/libc/include
-B/Volumes/20_GB_USB/cross/sparc//sparc-aout/bin/
-B/Volumes/20_GB_USB/cross/sparc//sparc-aout/lib/ -isystem
/Volumes/20_GB_USB/cross/sparc//sparc-aout/include -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I../../../../sparcgcc/gcc-3.1/gcc -I../../../../sparcgcc/gcc-3.1/gcc/.
-I../../../../sparcgcc/gcc-3.1/gcc/config
-I../../../../sparcgcc/gcc-3.1/gcc/../include -DL_divdi3 -c
../../../../sparcgcc/gcc-3.1/gcc/libgcc2.c -fexceptions
-fnon-call-exceptions -o libgcc/./_divdi3.o
<command line>:1:10: warning: "cpu" re-asserted
<command line>:1:14: warning: "machine" re-asserted
/var/tmp//cc3YtQNQ.s: Assembler messages:
/var/tmp//cc3YtQNQ.s:669: Error: internal error: can't export reloc
type 69 (`BFD_RELOC_SPARC_UA32')
/var/tmp//cc3YtQNQ.s:685: Error: internal error: can't export reloc
type 69 (`BFD_RELOC_SPARC_UA32')
make[2]: *** [libgcc/./_divdi3.o] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2
I am trying to compile gcc-3.1 on OS X 10.2.1 : the binutils
compilation for sparc-aout worked just fine.
Thanks.
Doug
------------------------------------------------------------------------
-------------------
Doug Rowland 472 Tate Laboratory of Physics
Space Physics Laboratory 116 Church Street S.E.
School of Physics and Astronomy Minneapolis, MN
University of Minnesota 55455
work: (612) 624-0378 email: rowland@fields.space.umn.edu
fax: (612) 624-4578
More information about the Gcc
mailing list