I believe that the GNU link editor supports both single hyphen and double hyphen options -whole-archive and --whole-archive
However the SUN (Solaris and SunOS and Illumos) link editor uses different names like "-z weakextract"
Three is a GNU compatibility layer but the SUN link editor insists for GNU compatibility on the double hyphen format -whole-archive and --no-whole-archive
David Stes You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/673
-- Commit Summary --
* use --whole-archive option instead of -whole-archive for solaris ld
-- File Changes --
M platforms/unix/config/Makefile.in (2)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/673.patch https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/673.diff
Any news on this ? Preferably this PR would be merged by the author of the Makefile modification that uses "whole-archive".
Tobias added the whole-archive flags a few years ago. This PR seems reasonable and correct so I see no reason not to merge it. If there is still some platform that uses 'whole-archive' we can easily revert the change.
Merged #673 into Cog.
Correcting a possibly confusing typo, I meant to say "If there is still some platform that uses '-whole-archive' we can easily revert the change"
vm-dev@lists.squeakfoundation.org