Date: Thu, 8 Dec 2005 08:22:11 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: "David O'Brien" <obrien@FreeBSD.org> Cc: freebsd-amd64@FreeBSD.org Subject: Re: [ru@FreeBSD.org: install32] Message-ID: <20051208062211.GF51156@ip.net.ua> In-Reply-To: <20051207231539.GA29443@dragon.NUXI.org> References: <20051207084939.GE63887@ip.net.ua> <20051207231539.GA29443@dragon.NUXI.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--/2994txjAzEdQwm5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 07, 2005 at 03:15:39PM -0800, David O'Brien wrote: > On Wed, Dec 07, 2005 at 10:49:39AM +0200, Ruslan Ermilov wrote: > > Forwarding this to the list since Peter doesn't reply. If you > > have an opinion on the subject, please reply. > .. > > > . Makefile.inc1=20 > > > share/mk bsd.lib.mk bsd.prog.mk=20 > > > Log: > > > Add the NO_INCS knob to bsd.prog.mk and bsd.lib.mk to not include > > > bsd.incs.mk, and use it when installing 32-bit compat libraries > > > on amd64. This causes it to *not* overwrite native headers with > > > i386 versions, which was the case with <fenv.h> and <vgl.h>. > .. > > This commit fixes a breakage but also raises the following question. > > If we don't install headers, do we need anything except 32-bit rtld > > and shared libraries? Currently, we also install .a libraries, .o > > objects, and some data files. >=20 > At the moment we don't support building 32-bit binaries on a 64-bit host. > So we don't want .a's and .o's installed. >=20 Well, we do (to some extent), but I'm not sure if we want it or not: : $ uname -p : amd64 : $ cat a.c : #include <stdio.h> : int main(void) { printf("Hello, world!\n"); return (0); } : $ cc -m32 -B/usr/lib32 -L/usr/lib32 -o a a.c : $ file a : a: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamical= ly linked (uses shared libs), not stripped : $ ./a : Hello, world! Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --/2994txjAzEdQwm5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDl9ETqRfpzJluFF4RApsTAJ9fJqJrs1AdYBP2YI34wcNAuLxCHgCdHCSw wpZfkGk9jKAvUgXRSLixDGM= =qrxI -----END PGP SIGNATURE----- --/2994txjAzEdQwm5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051208062211.GF51156>