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: Error building mips-sde-elf crosscompiler


13.7.2014 14:01, Anders Montonen kirjoitti:
Hi,

I am trying to build a GCC 4.9.0 toolchain targeting mips-sde-elf on a OS X 10.7 host. Building the first stage compiler works fine, but trying to build the final compiler always ends with an error.

What on earth "first stage" and "final" compilers? Cross GCCs for embedded targets using newlib should succeed in one build stage when the host CC is GCC, a native or a cross one (Canadian Cross).

The configure command was "../gcc-4.9.0/configure --prefix=/Users/anders/local --target=mips-sde-elf --disable-nls --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-arch=mips32r2 --with-mips-plt --with-synci --with-llsc --with-newlib".

Any hints on what's going wrong?

/Users/anders/work/toolchain/gcc/4.9.0/mips-sde-elf/./gcc/xgcc -B/Users/anders/work/toolchain/gcc/4.9.0/mips-sde-elf/./gcc/ -B/Users/anders/local/mips-sde-elf/bin/ -B/Users/anders/local/mips-sde-elf/lib/ -isystem /Users/anders/local/mips-sde-elf/include -isystem /Users/anders/local/mips-sde-elf/sys-include
<clip>
-DHAVE_CC_TLS  -o addsf3.o -MT addsf3.o -MD -MP -MF addsf3.dep addsf3
Here is that bare "addsf3" on the compile line... I think a '-Daddsf3' or something to select the right part of
'config/hardfp.c' should be here instead...
  -c ../../../../gcc-4.9.0/libgcc/config/hardfp.c -fvisibility=hidden -DHIDE_EXPORTS -Wno-missing-prototypes
xgcc: error: addsf3: No such file or directory
make[4]: *** [addsf3.o] Error 1


How it appeared on it is unclear... I can only repeat your build (in only one stage) on my Linux system
(CentOS 6.5) and see what happens...


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