[haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?
- From: "Thomas Mueller" <mueller6723@xxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 18 Apr 2017 23:46:21 +0000
On 18/04/2017 22:05, Thomas Mueller wrote:
When cross-compiling Haiku, does the working output ("generated")
directory have to be under the haiku/haiku path?
I don't think that's a hard restriction.
At one point the directory had to be named "generated" and was created
by configure itself only.
Now if you look at the configure help it mentions "Non-default output
directories:".
Maybe it wants the relative path from $0 in the script, but I didn't check.
You can try to use the export trick.
You can probably fix this by editing the Jamfile in the generated
folders as well.
François.
I put debugging lines in the configure script to echo the output directory and
build output directory and then exit, under a different name configure-debug to
preserve the original configure.
It looked like configure correctly set the output directory and build output
directory.
But I didn't get Jamfile or anything else in $HAIKU_OUTPUT_DIR/build, no
BuildConfig or anything else I could find. I even looked under
/home/nbarlene/haiku/haiku. Part of the configure script found the Haiku
output directory, but another part didn't?
I copied Jamfile from earlier build attempts, also BuildConfig, but jam
couldn't find in $HAIKU_OUTPUT_DIR or HAIKU_OUTPUT_DIR/build, insisted in
looking in /home/nbarlene/haiku/haiku/fb64generated.clang-bootstrap even though
that directory didn't exist .
But the gcc-related tools were put in the HAIKU_OUTPUT_DIR, making it strange
that the Jamfile, build/BuildConfig and other build/ stuff were not produced.
I am not really sure what
cat << EOF > "$buildConfigFile"
and
cat << EOF > "$buildConfigFile"
and
include [ FDirName \$(HAIKU_TOP) Jamfile ] ;
produce.
But even if I can create these files by hand, jam will not find them!
Tom
Other related posts:
- » [haiku-development] Cross-building Haiku, does output (generated) directory need to be under source tree path?- Thomas Mueller
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- François Revol
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- François Revol
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path? - Thomas Mueller
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Adrien Destugues
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Thomas Mueller
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Adrien Destugues
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Thomas Mueller
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Ingo Weinhold
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Thomas Mueller
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Jessica Hamilton
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Thomas Mueller
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Adrien Destugues
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Ingo Weinhold
- » [haiku-development] Re: Cross-building Haiku, does output (generated) directory need to be under source tree path?- Thomas Mueller