How to enable the option '--build-id' to ld ?

William Tambe tambewilliam@gmail.com
Wed Dec 11 15:03:00 GMT 2019


On Wed, Dec 11, 2019 at 9:29 AM Ian Lance Taylor <iant@google.com> wrote:
>
> 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?

I am using GNU/Linux.

>
> The --build-id option is only support on systems that use ELF, such as
> GNU/Linux.
>
> Ian



More information about the Binutils mailing list