This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: How to enable the option '--build-id' to ld ?
- From: "Ian Lance Taylor via binutils" <binutils at sourceware dot org>
- To: William Tambe <tambewilliam at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Wed, 11 Dec 2019 06:29:16 -0800
- Subject: Re: How to enable the option '--build-id' to ld ?
- References: <CAF8i9mNm0nbB+jC0CKx7fcc43DwEfvOrEwgH-JKosovzYGUUVQ@mail.gmail.com>
- Reply-to: Ian Lance Taylor <iant at google dot com>
On Wed, Dec 11, 2019 at 4:45 AM William Tambe <tambewilliam@gmail.com> wrote:
>
> How to enable the option '--build-id' to ld such that the following
> error does not occur:
> ld: unrecognized option '--build-id'
What system are you running on?
The --build-id option is only support on systems that use ELF, such as
GNU/Linux.
Ian