[haiku-development] Re: [haiku] Can't build (jam) anyboot-image because of artificial barrier

  • From: "Thomas Mueller" <mueller6723@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 03 Aug 2014 03:39:52 +0000

> On 02.08.2014 10:01, Thomas Mueller wrote:
> > from François Revol and my original post:
> >> It should be in build/jam/ just like the template IIRC. Anyway, you
> >> don't need it.

> > I see toward the end of Jamrules file, it looks like UserBuildConfig
> > should be in $HAIKU_OUTPUT_DIR or HAIKU_BUILD_RULES_DIR.  Maybe this
> > is wrong?

> Both locations are supported. The one in the output directory is 
> "cleaner" in that you don't modify anything in the source tree. However 
> the other one is more convenient, particularly when one has multiple 
> output directories (for different architectures).

> CU, Ingo

If possible, I prefer to put UserBuildConfig, if needed, in output directory or 
build subdirectory, so UserBuildConfig can be customized for each architecture 
or configuration.

I configured for x86_gcc2 and x86 hybrid, and x86_64, two separate builds of 
cross-tools, in separate "generated" directories (nbgenerated and 
nbgenerated.amd64).

Reason why my UserBuildConfig with SUPPORTED_PLATFORMS didn't work might be 
because setting SUPPORTED_PLATFORMS had no effect (?)

I am new to jam, more familiar with make (BSD and GNU variants).

I noticed no man page; documentation was in HTML (GNU info is my least 
favorite).

Tom


Other related posts: