* host:linux, target:mips-elf
@ 2005-01-22 17:04 Ershov Sergey
0 siblings, 0 replies; only message in thread
From: Ershov Sergey @ 2005-01-22 17:04 UTC (permalink / raw)
To: gcc-help
Hello
I want to make mips-elf cross complier at LINUX Slackware v9.0
The processes to build up mips-elf tools:
1. binutils-2.11.2
$ export host=i686-pc-linux-gnu
$ export prefix=/tools/mips
$ export target=mips-elf
$ /usr/src/binutils-2.11.2/configure \
--host=$host --prefix=$prefix --target=$target \
--with-gnu-as --with-gnu-ld -v 2>&1 | tee configure.log
$ make CFLAGS=-O2 LANGUAGES="c c++" 2>&1 | tee make.log
$ make install LANGUAGES="c c++"
2. gcc-3.4.1
$ export PATH=$prefix/bin:$PATH
$ /usr/src/gcc-3.4.1/ln -s ../newlib-1.13.0/newlib
$ /usr/src/gcc-3.4.1/ln -s ../newlib-1.13.0/libgloss
$ /usr/src/gcc-3.4.1/configure \
--enable-languages=c --enable-multilib=no \
--host=$host --prefix=$prefix --target=$target \
--with-newlib --with-gnu-as --with-gnu-ld -v 2>&1 | tee configure.log
$ make 2>&1 | tee make.
And then i recive an error message:
/tools/mips/mips-elf/bin/as: unrecognized option `-no-mdebug'
make[2]: *** [libgcc/./_m16addsf3.o] Error 1
make[2]: Leaving directory `/usr/src/gcc-3.4.1/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory '/usr/src/gcc-3.4.1/gcc'
make: ***[all-gcc] Error 2
Please help me, tell me why, or give me some advice, thanks.
--
Best regards,
Ershov Sergey mailto:ershov@kursknet.ru
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-22 17:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-22 17:04 host:linux, target:mips-elf Ershov Sergey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).