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: Compiling GCC 4.0.0 for mips r4000


If you don't want to worry about libraries, I would configure with
--target=mips64-elf.  However, note that within the MIPS, there are
several different ABIs, so you will need to know which ABI you wish to
use (for a bareboard, it doesn't matter, but if you are going to be
using libraries or an OS, you need to use a compatible ABI).  When
compiling, I would use -march=r4000.  I don't recall if the MIPS port
currently uses --with-arch=r4000.

-----Original Message-----
From: Ousama Rawas [mailto:orawas@gmail.com] 
Sent: Sunday, July 31, 2005 5:36 AM
To: Meissner, Michael
Cc: gcc-help@gcc.gnu.org
Subject: Re: Compiling GCC 4.0.0 for mips r4000

Acctually, I think I'll try --target=mips64-linux (I'm not sure what
specific operating system I'll be using at this point). What should I
do though if I want to compile stuff for the mips r4000 specifically,
irrespective of the OS to be used?

Thanks for your time.
Ousama Rawas.



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