[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: default ld emulation
From: |
Paul Jarc |
Subject: |
Re: default ld emulation |
Date: |
Tue, 14 Aug 2001 18:07:12 -0400 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 |
Nick Clifton <address@hidden> wrote:
>> Supported emulations:
>> elf_i386
>> i386linux
>>
>> How do I find out which one is the compiled-in default?
>
> Usually it is the first one in the list.
Any pointers to where I could look in the source to check that?
> Why do you need to know though ? You can always uses the -m option to
> override the default emulation with itself. It won't break ld.
I found something that has a Makefile rule to build a shared library
by using ld directly (without -m) instead of via gcc. When I tried
using gcc to build it, ld was invoked with -m. So if I use the
Makefile's rule, I wonder if I might be building it wrong.
paul