This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] add FreeBSD-specific `ld' emulations


On Sun, Feb 24, 2002 at 10:09:36AM -0300, Alexandre Oliva wrote:
> linker script used by gcc, for emulation elf_i386, no longer searches
> for libraries in /lib or /usr/lib after this change.  This change in
> GCC fixed the problem, but I'm not sure it's the way to go.  Is it?

    -#define LINK_SPEC "-m elf_i386 \
    +#define LINK_SPEC "-m elf_i386_fbsd \

I am starting to think the `-m' should be totally removed and rely on the
default emulation.  The problem with leaving things as-is; or changing
them is it forces the user to upgrade their Binutils installation.  For
GCC 3.2 most users will probably(maybe) have Binutils 2.12.0 or later
installed.  But I am not sure what is the most sensable value for 3.1.0,
or even 3.0.5 (should there be one).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]