Hash-style

Jakub Jelinek jakub at redhat.com
Fri Dec 1 11:02:31 UTC 2006


On Fri, Dec 01, 2006 at 11:39:12AM +0100, Luca wrote:
> Just a question: I've downloaded latest cvs versions of binutils, gcc
> and glibc.
> 
> Fedora by default uses "--hash-style=gnu" so I would like to know how to
> compile these packages from sources in this way.
> 
> Before configuring them, I thought of something like:
> "export {gcc,cc,c++,g++}={binary} -Wl,--hash-style=gnu,--enable-new-dtags"
> and
> "export ld="ld --hash-style=gnu --enable-new-dtags".

That's wrong.

Look at gcc41-hash-style-gnu.patch in FC gcc src.rpm to see how FC is doing
this.

	Jakub




More information about the fedora-list mailing list