
25 Jan
2010
25 Jan
'10
3:39 p.m.
AMDG Pascal Kesseli wrote:
Currently, I am trying to get bjam compile boost using an embedded toolchain. The toolchain runs on windows, but the target is a linux device. The toolchain behaves more or less like a normal linux toolchian and I am using msys to simulate the shell environment. Trying to compile boost immediately issues the following errors:
<snip>
cc1plus: error: invalid option `threads'
cc1plus: error: unrecognized option `-Winvalid-pch'
From what I perceive here, I would say bjam tries to use the toolchain as a MinGW toolchain. How can I tell boost to use Linux toolchain settings, so use -pthread instead of -mthread and omit that strange "-Winvalid-pch" parameter?
Does target-os=linux help? In Christ, Steven Watanabe