On Wed, Jan 21, 2004 at 03:09:12PM +0100, Maciej W. Rozycki wrote:
> On Tue, 20 Jan 2004, Dimitri Torfs wrote:
> > > It took a bit longer than I planned, sorry. Anyway, here are two
> > > functionally equivalent patches, for 2.4 and the head, that remove an ISA
> > > specification if a tool supports "-march=" and "-mabi=" at the same time.
> > >
> > > Please try the appropriate one.
> > Tried the head one, it had some typos (patch follows). Unfortunately, as I
> > wrote
> Oops, thanks for the correction -- as I still have only gcc 2.95.4, I
> wasn't able to see the typos immediately.
> > earlier, gcc-3.2 doesn't set the ISA correctly when using -march=, so
> > it doesn't work for 3.2.
> But do we care of the ISA? I don't think so -- it's just a leftover from
> the days the MIPS world was less complicated. If gcc 3.2 correctly emits
> code for the selected processor and obeys the selected ABI, then
> everything is fine. Are the binaries correct? If so, I'd like to apply
> the patch.
I actually had problems compiling when the -mips3 was not set. The
compiler choked on compiling some empty file, if I remember correctly.
I will try again later to see what exactly went wrong.
Dimitri Torfs | NSCE
firstname.lastname@example.org | The Corporate Village
tel: +32 2 7008541 | Da Vincilaan 7 - D1
fax: +32 2 7008622 | B-1935 Zaventem - Belgium