Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2010 19:16:56 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: 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/...
Message-ID:  <20100301171656.GW2489@deviant.kiev.zoral.com.ua>
In-Reply-To: <20100301.085314.131509470607393926.imp@bsdimp.com>
References:  <4B8AF55C.6040103@freebsd.org> <20100228.160732.597029496557504767.imp@bsdimp.com> <20100301092144.GS2489@deviant.kiev.zoral.com.ua> <20100301.085314.131509470607393926.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--O7hm+SMpb/lu0d4d
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[Stripped Cc: list]
On Mon, Mar 01, 2010 at 08:53:14AM -0700, M. Warner Losh wrote:
> In message: <20100301092144.GS2489@deviant.kiev.zoral.com.ua>
>             Kostik Belousov <kostikbel@gmail.com> 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.
>=20
> Having thought about it, I can see how we can make it work, so I
> withdraw my 'hack' statement.  You're right.
>=20
> On Solaris and Linux, how well does autoconf cope with using CC=3D"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
etc.

I never did used -m32 on Linux (knocking on the wood).
>=20
> : Merged x86 tree is ortoghonal to this feature.
>=20
> Yes, that's a much better way of saying what I was trying to say.
>=20
> Warner

--O7hm+SMpb/lu0d4d
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkuL9ocACgkQC3+MBN1Mb4glJACfUbsb8Isz0Ykcr9nbKmRV1/pU
U8YAoLiVoWvj0oNBlfj9EvevLby8cFEE
=/ywn
-----END PGP SIGNATURE-----

--O7hm+SMpb/lu0d4d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100301171656.GW2489>