svn commit: r204309 - in head/sys: amd64/amd64 amd64/isa conf i386/bios i386/cpufreq i386/i386 i386/isa i386/xen isa modules/bios/smbios modules/bios/vpd modules/cpufreq pc98/pc98 x86 x86/bios x86/...

Kostik Belousov kostikbel at
Mon Mar 1 17:17:08 UTC 2010

[Stripped Cc: list]
On Mon, Mar 01, 2010 at 08:53:14AM -0700, M. Warner Losh wrote:
> In message: <20100301092144.GS2489 at>
>             Kostik Belousov <kostikbel at> writes:
> : -m32 is not a hack, it is a standard feature on Linux and Solaris,
> : allowing to build both 32 and 64 bit binaries in the host environment,
> : not going to cross-compilation or chroot. It is very much missing on
> : the FreeBSD.
> Having thought about it, I can see how we can make it work, so I
> withdraw my 'hack' statement.  You're right.
> On Solaris and Linux, how well does autoconf cope with using CC="cc
> -m32"?  I've had issues with similar constructs on MIPS to select
> diffrent word sizes or ABIs.
On Solaris, -m32 is a default for the SunPRO compilers.
Both -m32 and -m64 worked quite good for me. They are very
careful to provide both 32 and 64 bit versions of all libraries
with the system, and system includes a lot of things, like X/Gnome

I never did used -m32 on Linux (knocking on the wood).
> : Merged x86 tree is ortoghonal to this feature.
> Yes, that's a much better way of saying what I was trying to say.
> Warner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the svn-src-all mailing list