[haiku-development] Re: question on planned build system feature -- 'generated' folder naming scheme

  • From: Matt Madia <mattmadia@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 30 Jan 2009 12:43:44 -0500

On Fri, Jan 30, 2009 at 11:36 AM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
>
> There is a rather simple way to use an arbitrary output directory, which
> works just the way it is known from auto tools based build systems. I don't
> see the point of implementing the same feature another way.
>
Ah, I didn't realize that was a common method for auto tools based
build systems.  I will start using that method.

> Regarding the naming of the default name of the output directory. If you
> encode target architecture and gcc version into the directory name, as is
> jamming from the source tree won't be possible anymore. The build system
> would have to find the output directory by trying all architecture and gcc
> version combinations. Which might not result in the desired behavior, if one
> has several output directories.
>
Could configure modify trunk/Jamrules's HAIKU_OUTPUT_DIR, so as to
point to the correct location?

If so, then the user would just need to re-run configure when
switching target or gcc versions, right?

If not, could you give me a rough idea of an acceptable solution that
can be integrated in the build system?   I'm more than willing to put
the time and effort into doing the changes.

Thank you,
mmadia

Other related posts: