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