Subject: Re: ld.new compile error
To: Mocha <netbsd_alpha@yahoo.com>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 05/17/2000 23:15:30
On Wed, May 17, 2000 at 02:40:48PM -0500, Mocha wrote:
> # pwd
> /usr/src/gnu/usr.bin/ld.new
> # make
> cc -O2 -Werror -I. -I/usr/src/gnu/usr.bin/ld.new
> -I/usr/src/gnu/lib/libbfd -I
> /usr/src/gnu/usr.bin/ld.new/../../dist/ld
> -I/usr/src/gnu/usr.bin/ld.new/../../d
> ist/bfd
> -I/usr/src/gnu/usr.bin/ld.new/../../dist/include -DDEFAULT_EMULATION='"
> elf64alpha"' -DSCRIPTDIR=\"/usr/share/ldscripts\" -DTARGET='"alpha--netbsd"'
> -DEMULATION_LIST='&ld_elf64alpha_emulation, 0' -c
> /usr/src/gnu/usr.bin/ld.new/..
> /../dist/ld/ldctor.c
> /usr/src/gnu/usr.bin/ld.new/../../dist/ld/ldctor.c:21: bfd.h: No such file
> or di
> rectory
> *** Error code 1
>
> Stop.
>
> ---
> 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
For me bfd.h is in /usr/include/bfd which is basically made from bfd-h.sed
in src/gnu/lib/libbfd.
Hope this helps,
Patrick