Help! - Compilation error for mips-rtems tools under Cygwin

Keith Siders tx_mips64 at yahoo.com
Wed Sep 14 13:57:54 UTC 2005


Having downloaded what appears to be the latest tools
sources for mips-rtems under Cygwin ( binutils 2.15,
gcc 3.3.3, and newlib 1.13.0 ), binutils built and
installed fine, but during build of gcc, got an
assembler error on a -G option as being unrecognized.
I have included some of the output here with hopefully
enough to identify where this is happening in the
makefile. I am attempting to build in accordance with
the RTEMS doc "Getting Started with RTEMS for C/C++
Users", Edition ss-20030411, dated 27 January 2003,
Appendix A, section A.2.4. I have successfully
completed the steps down to A.2.4.5 "make cross".
Also, how do I use configure to tell the tools to
build for big-endian MIPS? This seems to be building
for a little-endian target, by the mips3/.../el
directory references. configure --help didn't reveal
any secrets on this.

Am I even heading down the right road with this??? Or
should I be trying to use a different set of tools for
building under Cygwin?

------------------------------------
...
mkdir mips3/single/el
mkdir libgcc/mips3/single/el
if [ -f stmp-dirs ]; then true; else touch stmp-dirs;
fi
/build/gcc/gcc/xgcc -B/build/gcc/gcc/ -nostdinc
-B/build/gcc/mips-rtems/newlib/ -isystem
/build/gcc/mips-rtems/newlib/targ-include -isystem
/sour
ce/gcc-3.3.3/newlib/libc/include
-B/gcc-mips/mips-rtems/bin/
-B/gcc-mips/mips-rtems/lib/ -isystem
/gcc-mips/mips-rtems/include -O2 -I/source/gcc-
3.3.3/gcc/../newlib/libc/sys/rtems/include -DIN_GCC
-DCROSS_COMPILE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -G 0 -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/source/gcc-3.3.3/gcc -I/source/gcc-3.3.3/gcc/.
-I/source/gcc-
3.3.3/gcc/config -I/source/gcc-3.3.3/gcc/../include
-DL_m16addsf3 -xassembler-with-cpp -c
/source/gcc-3.3.3/gcc/config/mips/mips16.S -o
libgcc/./
_m16addsf3.o
as: unrecognized option `-G'
make[2]: *** [libgcc/./_m16addsf3.o] Error 1
make[2]: Leaving directory `/build/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/build/gcc/gcc'
make: *** [cross] Error 2

--------------------------------------------------

Keith


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the users mailing list