Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: MATH_EMULATE
"Douglas A. Tutty" <dtutty%porchlight.ca@localhost> writes:
> On Mon, Jan 14, 2008 at 08:03:44AM +1100, Daniel Carosone wrote:
>
>> - Removing MATH_EMULATE from the kernel *doesn't* mean machines
>> without FPU can't run netbsd, or won't be supported. It just means
>> that they will need their binaries compiled with -msoft-float,
>> rather than relying on emulated cpu insructions. This will be
>> faster anyway, and such machines these days will be used for
>> special-purpose cases and will benefit in other ways from
>> special-purpose builds specific to their needs.
>
> If that is the only difference, then would it be a trivial (and possibly
> automated) to have an i386-nofpu port that tracks i386 except for the
> compiler option? Make a change to i386 and the automated part generates
> the same change in i386-nofpu. The source code would be the same, just
> with different binaries.
Actually, the libm387 stuff would need to be replaced with libm on a
machine that ran without a 387.
--
Perry E. Metzger perry%piermont.com@localhost
Home |
Main Index |
Thread Index |
Old Index