Bugzilla – Bug 136824
ld (binutils) lacks several options
Last modified: 2005-12-05 07:40:48 UTC
While trying to compile openwengo (www.openwengo.org) I realized that ld on suse 10.0 lacks the -no_archive option. Facts: 1. If you specify -no_archive in the ld command line it is interpreted as -n (= --nmagic) and this often causes the compilation to fail, especially if used toghether with the -shared option. 2. The minimum effort to reproduce the issue is to run the following commands: [0|paulatto@paulax|~]$ ld -shared -no_archive ld: -static and -shared may not be used together [1|paulatto@paulax|~]$ ld -shared -n ld: -static and -shared may not be used together 3. The local manpage of ld doesn't document the -no_archive option at all. 4. Looking on the internet you can find several versions of the ld manpage, some of them include the option (e.g. <http://www.uwm.edu/cgi-bin/IMT/wwwman?topic=ld(1)&msection=3>) some others don't. 5. Comparing local and on-line versions of the manual you will realize that also the options -no_so and -so_archive are missing.
This are the Alpha DEC manual pages, not the one for binutils. You need to port the application at first to Linux and/or adjust the Makefiles.