This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: help needed: gcc 3.0 mips cross compilor problem
- To: larwe at larwe dot com, gcc-help at gcc dot gnu dot org
- Subject: Re: help needed: gcc 3.0 mips cross compilor problem
- From: "jason jiang" <jasonjiang2000 at hotmail dot com>
- Date: Mon, 16 Jul 2001 01:26:13 -0000
Hi, Lewin,
I have re-installed the binutils 2.11.2 and gcc 3.0 with the advise given,
the compiling stops at the exact place as I did before. And the message is
the same declaring mips-tfile not found. Is there other switchs to turn
on/off
when build cross-compilor for mips? Thanks.
Regards,
Jason
>From: "Lewin A.R.W. Edwards" <larwe@larwe.com>
>To: "jason jiang" <jasonjiang2000@hotmail.com>,gcc-help@gcc.gnu.org
>Subject: Re: help needed: gcc 3.0 mips cross compilor problem
>Date: Sun, 15 Jul 2001 08:56:27 -0400
>
>Hi Jason,
>
>>I downloaded binutils-2.11.2.tar.zip and gcc-3.0.tar.zip and am
>>trying to build a cross compilor for my mips embedded target.
>>The building of binutils-2.11.2 was successful. However, when I
>>build gcc 3.0 cross compilor, it failed. The configure command is:
>>
>>../build-gcc/configure --target=mips --host=i686-pc-cygwin
>>--enable-languages=c,c++ -v
>
>In my experience, it is not necessary to specify the host= parameter for
>binutils or gcc under cygwin. Try again, and this time configure both
>binutils and gcc as:
>
>--target=mips --prefix=/tools/mipstools
>
>(and in gcc, --enable-languages="C C++")
>
>Also remember that after building binutils BEFORE building gcc, you must
>add it to your PATH:
>
>PATH=/tools/mipstools/bin:$PATH ; export PATH
>
>Finally, if you are using anything earlier than the VERY LATEST version of
>cygwin, you should upgrade before trying to compile gcc 3.0.
>
>
>-- Lewin A.R.W. Edwards
>Embedded Engineer, Digi-Frame Inc.
>Work: http://www.digi-frame.com/
>Tel (914) 937-4090 9am-6:30pm M-F ET
>Personal: http://www.larwe.com/ http://www.zws.com/
>
>"Far better it is to dare mighty things, to win glorious triumphs, even
>though checkered by failure, than to rank with those poor spirits who
>neither enjoy much nor suffer much, because they live in the gray twilight
>that knows not victory nor defeat."
>(Theodore Roosevelt)
>
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.