[lsb-discuss] FW: News to me: --hash-style=gnu

Wichmann, Mats D mats.d.wichmann at intel.com
Tue Jul 10 12:00:20 PDT 2007

> To build a binary on the newer system that can run on the
> older one use either:
>  gcc -g  -o hello -Wl,--hash-style=sysv hello.c
> or
>  gcc -g  -o hello -Wl,--hash-style=both hello.c

Just note that this will fail on an older linker,
which won't recognize the --hash-style argument

make for pretty makefiles :-(

More information about the lsb-discuss mailing list