Subject: Re: m68k soft float (was illegal instruction)
To: None <fredb@immanent.net>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-mac68k
Date: 03/08/2003 23:20:56
In article <Pine.NEB.4.44.0303051042450.5663-100000@elation.immanent.net>
fredb@immanent.net wrote:

> On Thu, 6 Mar 2003, Izumi Tsutsui wrote:

> > sun2 has different MACHINE_ARCH (m68000) and MID_MACHINE (MID_M680002K)
> > from other m68k ports (m68k and MID_M68K).
> 
> But it's basically the same compiler, with different "specs" (i.e.
> different defaults). So if you compile a package with CFLAGS='-m68020
> -mno-soft-float' on m68000, you get the same binary as on m68k (no
> CFLAGS). Is that not true?

Some programs contain const strings of MACHINE_ARCH.
If soft-float m68k uses m68000 for MACHINE_ARCH,
it's acceptable for me, though.

BTW, hpcmips people decided to implement FPE rather than
using -soft-float to keep binary compatibility with other mips ports.
(even though all hpcmips machines lack FPU)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp