[ru@FreeBSD.org: install32]
Ruslan Ermilov
ru at FreeBSD.org
Wed Dec 7 22:23:57 PST 2005
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
> > > share/mk bsd.lib.mk bsd.prog.mk
> > > 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.
>
> 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.
>
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), dynamically linked (uses shared libs), not stripped
: $ ./a
: Hello, world!
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20051208/53276d51/attachment.bin
More information about the freebsd-amd64
mailing list