Stratego/XT JIRA  History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STR-476
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Martin Bravenboer
Reporter: Martin Bravenboer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Stratego/XT

OSX: Linking problems with libraries from sdf2-bundle

Created: 2005-12-03 11:04   Updated: 2008-03-31 20:46
Component/s: Deployment
Affects Version/s: 0.18 (Standard C and Stratego Libraries)
Fix Version/s: 0.17

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
At Mac OS X, creating a dynamic library is not possible because of problems with the way libraries are being constructed in the sdf2-bundle packages. These packages don't use libtool yet, and libtool fixes some issues with library construction.

See:
  http://nix.cs.uu.nl/dist/stratego/strategoxt-0.17M1pre13791/

Several solutions are suggested:
   http://gcc.gnu.org/ml/gcc/2005-06/threads.html#00179

I think that for the -fno-common we need to patch the sdf2-bundle, which is not desirable: then I'd rather change everything to libtool immediately.

Most likely, the single module option can be applied in Stratego/XT.

Testing that now ...

 All   Comments   Work Log   Change History      Sort Order:
Martin Bravenboer [2005-12-03 11:07]
For the single module option, see also:
http://gcc.gnu.org/ml/gcc/2005-06/msg00184.html

Martin Bravenboer [2005-12-05 22:52]
Workaround for now: build a static library only.

Martin Bravenboer [2006-06-05 12:37]
The sglr sources have been copied to Stratego/XT until this issue has been resolved (libjustsglr). We'll need to check how RC1 of the MetaEnvironment builds libraries.