On 2/18/06, Matthew Burgess <[EMAIL PROTECTED]> wrote:
>
> Now, the only odd thing I've noticed is that after building
> binutils-pass2 in chapter 5, ld-new (which gets copied to /tools/bin/ld
> then symlinked to /tools/i686-pc-linux-gnu/bin/ld) is a shell script, as
> opposed to a binary (ld is an ELF binary every other time we build it).

Matt,

I believe you may have inadvertantly left the --enable-shared in the
configuration of binutils-pass2.  This has be left out for ld to be a
binary with the paths from LIB_PATH hardwired in.  Otherwise, we need
to obliterate both ld's and all the ldscripts as was previously done
with the make -C ld install.

At least that's what I think.  I have a -pass1 ld lying around which
was built with --enable-shared and it's a binary.  I don't think
-pass2 would get built differently unless you had --enable-shared in
there.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to