This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: unrecognized option '-mcpu=r4600'


Hello Jiang,

> From: Xu, Jiang [mailto:Jiang.Xu@echostar.com]

> I successfully compiled the toolchain, but when I try to use 
> it to cross
> compile linux, the following error occurs:
>         .../.../as: unrecognized option '-mcpu=r4600'

What is your target CPU?

I would advise you to start with a very usual option, like -mcpu=r4000. If
it works, then you could try to refine options.

To program MIPS cpu, this book is a must read: See MIPS Run, by Dominic
Sweetman, Edition Morgan Kaufmann.

You'll find also useful information on following web sites:
http://www.linuxmips.net/index.html

http://linux.junsun.net/porting-howto/

And of course, all web sites on cross tools like Bill Gatliff's one.

I hope it helps,
Yours,
d.
-- 
David Mentré <mentre@tcl.ite.mee.com> - Research engineer (Ph.D.)
Mitsubishi Electric ITE-TCL / European Telecommunication Research Lab
Phone: +33 2 23 45 58 29 / Fax: +33 2 23 45 58 59 
http://www.mitsubishi-electric-itce.fr

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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