When cross-compiling Haiku, does the working output ("generated") directory
have to be under the haiku/haiku path?
This is under FreeBSD, and I use nonroot user name nbarlene.
Haiku tree is in /home/nbarlene/haiku with subdirectories haiku, buildtools,
haikuporter, haikuports, and haikuports.cross .
I use /home/nbarlene/myhaiku as base with subdirectories:
bin.freebsdx86
bin.netbsdx86
fb64generated
fb64generated-bootstrap
fb64generated-bootstrap.amd64
fb64generated.amd64
fb64generated.clang
fb64generated.clang-bootstrap
nb32generated
nb32generated-bootstrap
nb32generated-bootstrap.amd64
nb32generated.amd64
nb64generated
nb64generated-bootstrap
nb64generated-bootstrap.amd64
nb64generated.amd64
nbgenerated
nbgenerated.amd64
Using subdirectory fb64generated.clang-bootstrap, I keep getting error on
running jam, (jam -q @anyboot-image)
No `BuildConfig' found in
/home/nbarlene/haiku/haiku/fb64generated-bootstrap/build!
Run ./configure in the source tree's root directory first!
But jam looked in the wrong directory, should have been
/home/nbarlene/myhaiku/fb64generated/build
I noticed that no build subdirectory and no Jamfile were created on running
configure script.
My configure invocation was
/home/nbarlene/haiku/haiku/configure --bootstrap
/home/nbarlene/haiku/haikuporter/haikuporter
/home/nbarlene/haiku/haikuports.cross /home/nbarlene/haiku/haikuports
--build-cross-tools x86_gcc2 /home/nbarlene/haiku/buildtools
--build-cross-tools x86 --cross-tools-prefix
/home/nbarlene/myhaiku/fb64generated-bootstrap --use-clang --use-xattr
--include-gpl-addons --include-3rdparty
run from directory
/home/nbarlene/myhaiku/fb64generated.clang-bootstrap
Is there something in this configure invocation that misdirects jam to look for
directory /home/nbarlene/haiku/haiku/fb64generated.clang-bootstrap/build ?
Do jam and configure assume working directory has to be under haiku/haiku
rather than myhaiku?
Is there a bug in the build infrastructure, configure script, or is the bug in
my configure invocation command?
Same error occurs even if I configure non-bootstrap.
Tom