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

Key: STR-267
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Martin Bravenboer
Reporter: Martin Bravenboer
Votes: 0
Watchers: 0
Operations

Clone this issue
Create sub-task
If you were logged in you would be able to see more operations.
Stratego/XT

Consider using pkg-config for command-line options to linker, gcc, strc, etc.

Created: 2005-03-07 10:50   Updated: 2008-03-31 20:39
Component/s: Deployment
Affects Version/s: 0.13
Fix Version/s: 0.14

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


 Description  « Hide
Currently, the required options are in Makefile.xt. This is a serious problem, since Makefile.xt is copied to packages that require Stratego/XT. This copying means that the package requires the version of Stratego/XT that was used to create a distribution. If we change one of the compiler flags in Makefile.xt, then all dependent packages have to be re-released for that specific version of Stratego/XT. This takes a lot of time.

So, the *installed* Stratego/XT should determine the flags that have to be passed to tools (ld, gcc, strc). The standard tool for this is pkg-config, so we should consider to start using pkg-config.

 All   Comments   Work Log   Change History      Sort Order:
Martin Bravenboer [2005-03-07 10:53]
btw, if we decide to do this, then it should be done before the next release: Makefile.xt has been changed heavily for this release. If we change to pkg-config later, then we have to bother users with these changes in two releases. So, we should solve this problem now.

Martin Bravenboer [2005-04-07 08:10]
I think that pkg-config is also used as a more solid way of finding the prefix of packages. If we are going to use pkg-config, then we could also introduce support for the detection of --with configuration.

This will make Stratego easier to install for typical users. The problem of multiple installations is only applicable to Stratego developers and making the chosen configuration clear for these cases is our own problem.