Subject: Re: compile error
To: Mocha <>
From: Todd Vierling <>
List: current-users
Date: 05/18/2000 11:40:23
On Wed, 17 May 2000, Mocha wrote:

: bfd.h is no where to be found. i'm trying to update ld in hope that it will 
: understand
: -Wl,--whole-archive
: so i can compile php4rc2. it seems as though gcc understands those params 
: but ld doesn't

First off, can't be used on an a.out system (1.4.[012]).  It is
usable only on ELF systems in NetBSD-current.

If you are already on ELF in NetBSD-current, your ld already accepts
--whole-archive.  If php4rc2 is passing "-Wl,--whole-archive" directly to
ld, and not to cc, you need to remove the "-Wl," part.

With that said, in order to update ld, you have to compile
src/gnu/lib/libbfd and install it (but DO NOT MAKE CLEAN in that directory)
before compiling ld.

-- Todd Vierling (