|
Boost Users : |
Subject: Re: [Boost-users] bjam with cross toolchain
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-01-25 10:39:25
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net