Boost logo

Boost-Build :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2008-04-07 14:55:43


Florian Adolf wrote:
> apparently the boost library does not compile with the QNX 6.3.0 cross
> compiler (toolset=qcc) under Win32, in particular the Thread library.

Wouldn't be too surprised. It never was tested with cross compile.
Although it should mostly work.

> Some hack in the above jam file section (e.g. commenting the if
> statement) yielded errors:

What do you mean? You commented out the if and got the error?
Which error do you get if you do not comment this out?

To me the lower part of the message indicates that you are using an old
version of boost-build. The error
error: <tag>@rulename is present but is not the only <tag> feature
was present with a boost-build from 1.34 tree.

Also it seems you haven't tried

bjam threadapi=pthread

as suggested in the documentation of the Jamfile.

So I suggest to

1) make sure you are really using boost-build from 1.35 tree

2) invoke with
   bjam <target-os>qnx threadapi=pthread

This should compile, although you will get a library with a non-standard
name: boost_thread_pthread...

But I think this should be a minor issue.

I hope this can be resolved once the cross compile support in
boost-build is more mature.

Please report back your findings, as I do not have access to a qnx
compiler.

Regards speedsnail

-- 
_________________________________________
  _  _  | Roland Schwarz
 |_)(_  | aka. speedsnail
 | \__) | mailto:roland.schwarz_at_[hidden]
________| http://www.blackspace.at

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