Linux MIPS Architecture development
 help / color / mirror / Atom feed
* GCC 3.3.2 and Alchemy AU1100
@ 2003-12-09  9:50 Hamilton, Ian
  2003-12-09  9:58 ` Dirk Behme
  0 siblings, 1 reply; 4+ messages in thread
From: Hamilton, Ian @ 2003-12-09  9:50 UTC (permalink / raw)
  To: 'linux-mips@linux-mips.org'

Hi there.

I'm trying to build software for the AMD AU1100 processor using version
3.3.2 of the gnu compiler, and I'm having trouble figuring out the -march,
-mtune, etc settings.

Version 2.95 of gcc uses something like -mcpu=r4600, but this doesn't work
with 3.3.2.

I've tried other likely-looking options (e.g. -mips32), but the compiler
fails to assembler instructions like mtc0 and cache.

Has anyone built for the AU1100 using gcc 3.3.2? If so, could you tell me
the cpu options you used please?

Thanks
Ian Hamilton.

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

* Re: GCC 3.3.2 and Alchemy AU1100
  2003-12-09  9:50 GCC 3.3.2 and Alchemy AU1100 Hamilton, Ian
@ 2003-12-09  9:58 ` Dirk Behme
  2003-12-09 10:16   ` Lyle Bainbridge
  0 siblings, 1 reply; 4+ messages in thread
From: Dirk Behme @ 2003-12-09  9:58 UTC (permalink / raw)
  To: 'linux-mips@linux-mips.org'

Hamilton, Ian wrote:

> Hi there.
> 
> I'm trying to build software for the AMD AU1100 processor using version
> 3.3.2 of the gnu compiler, and I'm having trouble figuring out the -march,
> -mtune, etc settings.
> 
> Version 2.95 of gcc uses something like -mcpu=r4600, but this doesn't work
> with 3.3.2.
> 
> I've tried other likely-looking options (e.g. -mips32), but the compiler
> fails to assembler instructions like mtc0 and cache.
> 
> Has anyone built for the AU1100 using gcc 3.3.2? If so, could you tell me
> the cpu options you used please?

For a VR41xx CPU with GCC 3.3.1 I have used

-march=r4600 -mips3 -Wa,--trap

instead of the old

-mcpu=r4600 -mips2 -Wa,--trap

Not sure whether this is correct (no test of the output on a target
yet), but it compiles.

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

* RE: GCC 3.3.2 and Alchemy AU1100
  2003-12-09  9:58 ` Dirk Behme
@ 2003-12-09 10:16   ` Lyle Bainbridge
  2003-12-09 10:16     ` Lyle Bainbridge
  0 siblings, 1 reply; 4+ messages in thread
From: Lyle Bainbridge @ 2003-12-09 10:16 UTC (permalink / raw)
  To: 'Dirk Behme', linux-mips

Hi,

I am using GCC 3.3.2 to crosscompile the 2.4.22 kernel for
an Au1500 system under x86 Redhat 9.0 and I use the following
settings with success.

 -mtune=r4600 -mips2 -Wa,--trap

Cheers
Lyle


> -----Original Message-----
> From: linux-mips-bounce@linux-mips.org 
> [mailto:linux-mips-bounce@linux-mips.org] On Behalf Of Dirk Behme
> Sent: Tuesday, December 09, 2003 3:58 AM
> To: 'linux-mips@linux-mips.org'
> Subject: Re: GCC 3.3.2 and Alchemy AU1100
> 
> 
> Hamilton, Ian wrote:
> 
> > Hi there.
> > 
> > I'm trying to build software for the AMD AU1100 processor using 
> > version 3.3.2 of the gnu compiler, and I'm having trouble 
> figuring out 
> > the -march, -mtune, etc settings.
> > 
> > Version 2.95 of gcc uses something like -mcpu=r4600, but 
> this doesn't 
> > work with 3.3.2.
> > 
> > I've tried other likely-looking options (e.g. -mips32), but the 
> > compiler fails to assembler instructions like mtc0 and cache.
> > 
> > Has anyone built for the AU1100 using gcc 3.3.2? If so, 
> could you tell 
> > me the cpu options you used please?
> 
> For a VR41xx CPU with GCC 3.3.1 I have used
> 
> -march=r4600 -mips3 -Wa,--trap
> 
> instead of the old
> 
> -mcpu=r4600 -mips2 -Wa,--trap
> 
> Not sure whether this is correct (no test of the output on a 
> target yet), but it compiles.
> 
> 
> 

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

* RE: GCC 3.3.2 and Alchemy AU1100
  2003-12-09 10:16   ` Lyle Bainbridge
@ 2003-12-09 10:16     ` Lyle Bainbridge
  0 siblings, 0 replies; 4+ messages in thread
From: Lyle Bainbridge @ 2003-12-09 10:16 UTC (permalink / raw)
  To: 'Dirk Behme', linux-mips

Hi,

I am using GCC 3.3.2 to crosscompile the 2.4.22 kernel for
an Au1500 system under x86 Redhat 9.0 and I use the following
settings with success.

 -mtune=r4600 -mips2 -Wa,--trap

Cheers
Lyle


> -----Original Message-----
> From: linux-mips-bounce@linux-mips.org 
> [mailto:linux-mips-bounce@linux-mips.org] On Behalf Of Dirk Behme
> Sent: Tuesday, December 09, 2003 3:58 AM
> To: 'linux-mips@linux-mips.org'
> Subject: Re: GCC 3.3.2 and Alchemy AU1100
> 
> 
> Hamilton, Ian wrote:
> 
> > Hi there.
> > 
> > I'm trying to build software for the AMD AU1100 processor using 
> > version 3.3.2 of the gnu compiler, and I'm having trouble 
> figuring out 
> > the -march, -mtune, etc settings.
> > 
> > Version 2.95 of gcc uses something like -mcpu=r4600, but 
> this doesn't 
> > work with 3.3.2.
> > 
> > I've tried other likely-looking options (e.g. -mips32), but the 
> > compiler fails to assembler instructions like mtc0 and cache.
> > 
> > Has anyone built for the AU1100 using gcc 3.3.2? If so, 
> could you tell 
> > me the cpu options you used please?
> 
> For a VR41xx CPU with GCC 3.3.1 I have used
> 
> -march=r4600 -mips3 -Wa,--trap
> 
> instead of the old
> 
> -mcpu=r4600 -mips2 -Wa,--trap
> 
> Not sure whether this is correct (no test of the output on a 
> target yet), but it compiles.
> 
> 
> 

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

end of thread, other threads:[~2003-12-09 10:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09  9:50 GCC 3.3.2 and Alchemy AU1100 Hamilton, Ian
2003-12-09  9:58 ` Dirk Behme
2003-12-09 10:16   ` Lyle Bainbridge
2003-12-09 10:16     ` Lyle Bainbridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox