Hello Sean!
03 Nov 24, Sean Rima wrote to All:
ld: unknown option: -soname
Any ideas now to get around it
Looks like -soname is parsed as switchname instead of -s<oname>.
Manpage or try -s <oname> ?
Some tools have pesty differences between platforms. hexdump -s 0x08 -n 0x10 gives bad -n format error on linux but no output on freebsd at all. hexdump -s 0x08 - n 16 will work on both. The error output on freebsd is just not there (maybe in return code but i haven't checked). It's strange that a hex tool does not understand hex in all places.
What if the variable is wrong defined? Does hacking the compiler command for ld work? Like forcing LD=echo "$oname";ld in the makefile?
Regards
Kai
--- GoldED+/LNX 1.1.4.7
* Origin: Monobox (2:240/77)