Subject: Re: make and ELF (PR bin/5445)
To: Simon Burge <simonb@telstra.com.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-toolchain
Date: 05/13/1998 10:56:49
On Wed, 13 May 1998 23:41:29 +1000
Simon Burge <simonb@telstra.com.au> wrote:
> /usr/src/include/ranlib.h:
>
> #if !defined(__ELF__)
> #define RANLIBMAG "__.SYMDEF" /* archive file name */
> #endif
>
> /usr/src/usr.bin/make/Makefile:
>
> CPPFLAGS+= -I${.CURDIR}
> .if (${OBJECT_FMT} == ELF)
> CPPFLAGS+= -D__ELF__
> .endif
This latter part should not be necessary. All Elf-format toolchains for
NetBSD should be defining __ELF__ already.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 428 6939