[Top] [All Lists]

Re: Support for newer gcc/gas options

To: Dimitri Torfs <>
Subject: Re: Support for newer gcc/gas options
From: Thiemo Seufer <>
Date: Sat, 10 Jan 2004 02:19:22 +0100
Cc: "Maciej W. Rozycki" <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
User-agent: Mutt/1.5.4i
Dimitri Torfs wrote:
> >  Thanks for the report -- I suppose we can remove "-mips" whenever
> > "-mabi=" is supported by gcc.  I'll do an update in January after I am 
> > back from vacation.
> Tried removing the -mips3 gcc option => -D_MIPS_ISA=_MIPS_ISA_MIPS1 is
> set. I think it might be better to use "-mtune=<cpu> -mipsN". That
> seems to set the correct options, without any warnings (using gcc
> 3.2.2). After having carefully read the gcc documentation (again)
> regarding the MIPS options, I think that's the way to go for newer
> gcc's as well. If anyone has already tried ?

The supposed way is to use -mabi=FOO -march=BAR, where BAR can also be
e.g. "mips3". This will choose the proper (probably generic) architecture
as well as the ISA defines. Btw, the ISA defines aren't used in the
kernel anymore.


<Prev in Thread] Current Thread [Next in Thread>