Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-11-06 04:29:50


Jim Douglas wrote:
> I understand that BBv2 suppports cross-compilation. I would like to try
> building the libraries for QNX6 on the Windows hosted development
> system. Kindly give me some pointers as to where to start.

If I understand correctly, QNX6 uses a variant of the GCC compiler
(qcc). This can be done in the user-config.jam file when you do the
setup. See the GCC toolset for more information, but it will be
something like:

    using gcc : 3.4 : qcc ;

There is also support for BBv1 architecture, instruction-set and
address-model in place, but they aren't currently used by the GCC toolset.

Volodya: the gcc toolset processes gnu, sun and *darwin* as values for
link-flags, but only mentions gnu and sun.

> Is it possible to perform the run-timr tests on a remote platform?

You can copy the executables over and run them there :). However, AFAICS
there is no support in the testing framework for remote deployment and
execution.

This would be useful and would require the test engine to:
1. copy the test executable to the target machine(s);
2. remote execute the tests on those machines;
3. copy the test results back to the test runner;
4. process the tests as normal.

IIUC, this would mean querying the target computer for its operating
system then using that OSes remote execution logic, but I don't know
enough about this to say how feasible this would be or how BBv2 support
would look.

You would need to specify the username/password to use on the target
machine that allows remote execution.

Personally, remote execution of tests would be a very cool feature,
epecially if you could remote execute non-test executables (e.g. custom
build regression test programs) and scripts (for automated testing).

- Reece


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk