[SLE] Platform independent way of including all symbols in an archive
26 May
2000
26 May
'00
17:57
Is there a platform independent way of telling ld (via gcc) to include all symbols of an archive regardless if they are referenced or not, when building a shared library. gcc -shared -o libmine.so -Wl,--whole-archive libstuff.a -Wl,--none-whole-archive This is of course does work the same way on Sun, Digital, or HP. One way would be to create a file that references every symbol you want in the library. But I don't want to have to scour the library for this info. Any ideas. Thanks for any help. jlm -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
8763
Age (days ago)
8763
Last active (days ago)
0 comments
1 participants
participants (1)
-
jlm@compgen.com