Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

soft-float builds



Further to my recent soft-float changes, I'd like to add an option to
the bsd.*.mk files to turn on building soft-float binaries for platforms
that usually default to "normal" floating-point enabled code.

What I was thinking was something along the lines of a

        MKSOFTFLOAT=    yes|no

make variable, which would do things like add "-msoft-float" to the CC
and CXX (and FC?) variables, and be used in the libc/arch/* makefiles
(or even just libc/Makefile) to enable softfloat support in libc.

Any comments on this, or better ways to do it?


This raises a further question about whether or not we should have a
separate MACHINE_ARCH for softfloat-built userlands and what it should
be called (soft<arch>, soft-<arch>, ...).  Any ideas here will be
appreciated...

Simon.
--
Simon Burge                            <simonb%wasabisystems.com@localhost>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/



Home | Main Index | Thread Index | Old Index