public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: Compiling GCC 4.0.0 for mips r4000
@ 2005-08-01 17:06 Meissner, Michael
  0 siblings, 0 replies; 5+ messages in thread
From: Meissner, Michael @ 2005-08-01 17:06 UTC (permalink / raw)
  To: Ousama Rawas; +Cc: gcc-help

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Compiling GCC 4.0.0 for mips r4000
@ 2005-07-29 21:31 Meissner, Michael
  2005-07-31  9:36 ` Ousama Rawas
  0 siblings, 1 reply; 5+ messages in thread
From: Meissner, Michael @ 2005-07-29 21:31 UTC (permalink / raw)
  To: Ousama Rawas, gcc-help

What is the target system?  Usually if you are compiling to a specific
operating system, you specify that in the --target line, ie:
--target=mips64-linux or --target=mips-rtems.  If you are compiling to a
bare board, you might try something like: --target=mips64-elf.

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Ousama Rawas
Sent: Friday, July 29, 2005 2:45 PM
To: gcc-help@gcc.gnu.org
Subject: Compiling GCC 4.0.0 for mips r4000

Hi ... 

I was wondering if anyone could help me with something. I want to
compile GCC 4.0.0 for the mips-r4000, and I'm not sure which switch to
use
to specify this when using --target for configuring GCC before
compiling it.... If anyone happens to know the location of some list
that
I can use to get this, then I would really appreciate if you could
refer me to it.

Thanks ..

Ousama Rawas.


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Recompiling GCC just won't work ....
@ 2005-07-27 10:37 Ousama Rawas
  2005-07-29 18:45 ` Compiling GCC 4.0.0 for mips r4000 Ousama Rawas
  0 siblings, 1 reply; 5+ messages in thread
From: Ousama Rawas @ 2005-07-27 10:37 UTC (permalink / raw)
  To: gcc-help

Hey all... I'm a relatively new gcc user, so bear with me a bit... 

So I downloaded and compiled GCC  4.0.0 having configured it in the
following manner:

--prefix=/usr/local/gcc40 --bindir=/usr/local/gcc40bin 

So anyway it worked and everything was fine... Now I need to compile
GCC again with --target set to mips... For some reason, after I
configure GCC (--prefix=/usr/local/gcc40mips
--bindir=/usr/local/gcc40mipsbin --target=mips), I get an error like 1
or 2 minutes into the compilation of GCC, and it aborts. BTW, I'm
using fedora core 3. Can anybody help me with this?

I'd appreciate it also if someone could refer me to the list of
targets that I can compile GCC for... I want to compile GCC for the
mips-r4000, and I'm not sure which switch to use to specify this....

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-01 17:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-01 17:06 Compiling GCC 4.0.0 for mips r4000 Meissner, Michael
  -- strict thread matches above, loose matches on Subject: below --
2005-07-29 21:31 Meissner, Michael
2005-07-31  9:36 ` Ousama Rawas
     [not found]   ` <4a618d080507310600305aabd1@mail.gmail.com>
2005-07-31 15:10     ` Ousama Rawas
2005-07-27 10:37 Recompiling GCC just won't work Ousama Rawas
2005-07-29 18:45 ` Compiling GCC 4.0.0 for mips r4000 Ousama Rawas

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).