From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-01-18 10:47:43
On Monday 15 January 2007 19:18, Norbert Unterberg wrote:
> I have another cross compiler problem.
> We are running a cross compiler toolchain under Cygwin/Windows. This
> toolchain uses a cuistomized gcc compiler to generate code for a linux
> When trying to build boost using this cross compiler, bjam still detects
> that it is running on cygwin and windows, and tries to build DLLs
> instead of linux shared libraries. Is there any chance to configure bjam
> to run under windows or cygwin but generate code for a different target,
> either by special command line options or even by compiling a custom
> version of bjam?
Do you mean the extension is wrong, or that the build process is wrong?
I've looked at the code in question and there are very few platform-specific
> I have looked into jam some time ago but had to drop it because it was
> unable to differentiate between host and target configuration (like
> running under a windows host but generate code for Linux). Seem I am
> faling into the same trap again...
We have internal mechanism to handle build-os != target-os, but nobody
used it so far, so no wonder that gcc or shared library might be still
looking at build os. Just report the particular issues you run into
and I'll try to address them when I get back home on Monday.
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