public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* /usr/bin/ld: unrecognized option
@ 2008-11-23  0:31 hce
  2008-11-23  2:34 ` Artūras Moskvinas
  0 siblings, 1 reply; 4+ messages in thread
From: hce @ 2008-11-23  0:31 UTC (permalink / raw)
  To: gcc-help

Hi,

I am running gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
and I've following error:

/usr/bin/ld: unrecognized option '--hash-style=sysv'

Appreciate any helps to fix the problem.

Thank you.

Kind Regards,

Sean

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /usr/bin/ld: unrecognized option
  2008-11-23  0:31 /usr/bin/ld: unrecognized option hce
@ 2008-11-23  2:34 ` Artūras Moskvinas
  2008-11-23  8:03   ` hce
  0 siblings, 1 reply; 4+ messages in thread
From: Artūras Moskvinas @ 2008-11-23  2:34 UTC (permalink / raw)
  To: hce; +Cc: gcc-help


> Hi,
>
> I am running gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
> and I've following error:
>
> /usr/bin/ld: unrecognized option '--hash-style=sysv'
>
> Appreciate any helps to fix the problem.
>
>   
Hello,

What version of binutils do you use?

Command to check your ld version:
/usr/bin/ld --version

--hash-style was introduced in binutils 2.17, so you might have to 
upgrade your binutils package or remove that option (--hash-style)


Arturas Moskvinas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /usr/bin/ld: unrecognized option
  2008-11-23  2:34 ` Artūras Moskvinas
@ 2008-11-23  8:03   ` hce
  2008-11-23 13:07     ` Artūras Moskvinas
  0 siblings, 1 reply; 4+ messages in thread
From: hce @ 2008-11-23  8:03 UTC (permalink / raw)
  To: Artūras Moskvinas; +Cc: gcc-help

On Sun, Nov 23, 2008 at 11:55 AM, Artūras Moskvinas
<arturas.moskvinas@gmail.com> wrote:
>
>> Hi,
>>
>> I am running gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
>> and I've following error:
>>
>> /usr/bin/ld: unrecognized option '--hash-style=sysv'
>>
>> Appreciate any helps to fix the problem.
>>
>>
>
> Hello,
>
> What version of binutils do you use?
>
> Command to check your ld version:
> /usr/bin/ld --version
>
> --hash-style was introduced in binutils 2.17, so you might have to upgrade
> your binutils package or remove that option (--hash-style)

$ /usr/bin/ld --version
GNU ld version 2.17 Debian GNU/Linux

It is the version 2.17. I guess it should be ok to know the option
--hash-style, correct? Is there anything I might be missing as well?

Thanks Arturas.

Kind Regards,

Sean

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /usr/bin/ld: unrecognized option
  2008-11-23  8:03   ` hce
@ 2008-11-23 13:07     ` Artūras Moskvinas
  0 siblings, 0 replies; 4+ messages in thread
From: Artūras Moskvinas @ 2008-11-23 13:07 UTC (permalink / raw)
  To: hce; +Cc: gcc-help


> $ /usr/bin/ld --version
> GNU ld version 2.17 Debian GNU/Linux
>
> It is the version 2.17. I guess it should be ok to know the option
> --hash-style, correct? Is there anything I might be missing as well?
>
> Thanks Arturas.
>
> Kind Regards,
>
> Sean
>   
Hello,

This option appeared somewhere in 2.17 binutils version, but I was 
unable to find in which exactly, please check maybe there is an update 
for binutils package in debian repository. If you are unable to update, 
then remove --hash-style=sysv, because until the change binutils used 
sysv by default.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-23 12:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-23  0:31 /usr/bin/ld: unrecognized option hce
2008-11-23  2:34 ` Artūras Moskvinas
2008-11-23  8:03   ` hce
2008-11-23 13:07     ` Artūras Moskvinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).