bugGNUstep - Bugs: bug #32876, GNUstep-base/-gui/-back should...


bug #32876: GNUstep-base/-gui/-back should support building outside of the source directory

Submitted by:  Wolfgang Lux <wlux>
Submitted on:  Tue 22 Mar 2011 10:41:07 AM UTC  
Category:  Makefiles Severity:  3 - Normal
Item Group:  Change Request Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 09 Apr 2017 09:38:59 AM UTC, comment #1: 

This sounds nice to me.

Assuming that building in the source tree with GNUSTEP_BUILD_DIR=build defined already works, couldn't this be implemented by:

1. modifying configure.ac in some way so that the configure script was able to recognised when it's been called as ../configure, and then change GNUSTEP_BUILD_DIR and its own working directory
2. passing an appropriate value of GNUSTEP_BUILD_DIR to any nested invocations

Richard Frith-Macdonald <CaS>
Project Member
Tue 22 Mar 2011 10:41:07 AM UTC, original submission:  

I'd like being able to build GNUstep software in separate build directories. The main advantage is that this would allow me building multiple configurations from the same source tree. Of course, in my case its obviously apple-apple-apple and gnu-gnu-gnu I'm interested in and eventually also apple-gnu-gnu, but using an NFS mounted source tree this would also make it more easy to check changes on multiple different platforms before committing :-)

The main problem I'm seeing is that while both autoconf and GNUstep-make offer support for using separate build directories, they seem to do it in fundamentally incompatible ways. For an autoconf'd project it (usually) works to create a build directory, say mkdir build, in the source tree, followed by cd build and ../configure. With GNUstep-make, on the other hand, it seems necessary to build from the source tree but one can use GNUSTEP_BUILD_DIR=build to build in the build directory. I'm not sure how we can reconcile both approaches

Wolfgang Lux <wlux>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by nico (Updated the item)
  • -email is unavailable- added by wlux (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-22 nico CategoryNone => Makefiles

    Back to the top

    Powered by Savane 3.7