Boost logo

Boost-Build :

From: Daniel Goertzen (daniel.goertzen_at_[hidden])
Date: 2006-03-23 17:54:22

2 questions:

1. Are there cross compiling resources for bbv2 out there? It appears
gcc.jam is not cross compile capable, but it would probably not be hard to
create a variant that would. Is this the "correct" approach to cross
compiling, that is, creating a new bb toolset?

2. Say you want to cross compile the Python package. The package consists
of the python interpreter plus a collections of libraries. The libraries
require the python interpreter for construction. This is fine when not
cross compiling, but when cross compiling the cross python will not run on
the build system.

Ideally you would want to specify a non-cross python interpreter as a
dependency of the libraries, but I haven't seen anything in the
documentation about adding tool requirements to specific targets. The holy
grail is to express the build instructions so that it works nicely in both
cross and non-cross situations; ie, a non-cross compile would construct
build-python and build-libs, where a cross compile would construct
build-python, target-python, and target-libs.

Can bbv2 hack this?

I'm actually fooling around with Erlang, but Erlang and Python share the
same cross build problems.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at