I’m building Haiku from source, because I’m interested in input driver issues.
Or rather, I’m building the C compiler, again, because I wasn’t able to easily figure out how to skip that step, and I thought maybe as it’s already built … but nope, it’s recompiling everything. I built it a couple days ago, it isn’t at all necessary, and it takes at least twice as long as building the OS.
What would the ../configure command look like, to just configure haiku, in a build subdirectory, for x86_64 with the compiler etc. already built in ../../buildtools?
I never had to do that. Following the instructions, I just had to run configure to build the compiler once (and whenever I update it), then jam whenever I want to build Haiku. A configure --update now and then when the script itself changes.
Not sure why you would need to reconfigure Haiku build, but from configure --help it seems --cross-tools-prefix is what you need.
The buildtools/ directory contains only the sourcecode for the build tools. The built build tools are stored in the generated/ directory when you run configure for the first time.
If you deleted your generated directory, you have to start over. Otherwise, you can just run jam to build things, no need to run configure again.