[RFC] what to name linux 32-bit compat

Andreas Klemm andreas at freebsd.org
Mon Jan 17 23:36:37 PST 2005

On Mon, Jan 17, 2005 at 09:46:17PM -0500, John Baldwin wrote:
> Personally, I think /compat/linux32 and /compat/linux (for linux64) would be 
> the best way to go.  The idea being that /compat/linux runs native binaries 
> on any given arch, and if there's more than one arch supported, the 
> non-native ones get the funky names.

Am not 100% sure but it might be a win to re-think this for port

It might be beneficial not to use such "implicit" rules for naming
like your suggestion for taking /compat/linux as native arch.

I would perhaps name /compat/linux32 and /compat/linux64 explicitely,
which might be a win and is IMHO not too expensive.

Uname should IMHO get a new switch to print out default architecture
of being 32 or 64 bit.

So together with uname and the above naming scheme you have all you need
and is compareable to what we already have (concerning uname) for
cpu architecture.

Do perhaps other BSD teams have added an mechanism like that or
do they get 32/4 bit out of /proc ?

Best regards

	Andreas ///

Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? -> http://www.apsfilter.org/

More information about the freebsd-amd64 mailing list