Subject: Re: NetBSD 1.3, pkgsrc and OBJECT_FMT
To: Greywolf <greywolf@starwolf.com>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 05/01/2001 08:35:32
On Mon, Apr 30, 2001 at 11:56:55AM -0700, Greywolf wrote:
> On Mon, 30 Apr 2001, David Brownlee wrote:
> 
> # Date: Mon, 30 Apr 2001 18:15:02 +0100 (BST)
> # From: David Brownlee <abs@netbsd.org>
> # To: Alistair Crooks <agc@pkgsrc.org>
> # Cc: tech-pkg@netbsd.org
> # Subject: Re: NetBSD 1.3, pkgsrc and OBJECT_FMT
> #
> # On Mon, 30 Apr 2001, Alistair Crooks wrote:
> #
> # >    a) Fix all such Makefiles (around 34)
> # >    b) Catch OBJECT_FMT not being set and fix it in bsd.pkg.mk. (NO)
> # >    c) put the .if ${OBJECT_FMT} == "ELF" stuff in .if defined(OBJECT_FMT)
> # >       guards
> #
> #      d) Add the following to bsd.pkg.mk in the NetBSD 1.3 case
> # 	    .if ${MACHINE_ARCH} == "alpha" || \
> # 	    ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
> # 	    ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
> # 	    OBJECT_FMT?=ELF
> # 	    .else
> # 	    OBJECT_FMT?=a.out
> # 	    .endif
> 
> Pardon me, but why is i386 left out of ELF?  I missed something.  We are
> capable of generating ELF format executables, last I looked.

This is for NetBSD-1.3 support of OBJECT_FMT.

Regards,
Al