Boost logo

Boost-Build :

Subject: Re: [Boost-build] [wince] Building Boost for Windows CE... some progress and problems...
From: Andy Schweitzer (a.schweitzer.grps_at_[hidden])
Date: 2009-06-14 21:51:07


Andy Schweitzer wrote:
> -- Any ideas on why machine conflicts (X86 vs ARM and ARM vs THUMB) seem
> to occur in some cases but not others?

Elaborating on that specific question, I'm trying to build individual
libraries' tests, but I get link errors:

fatal error LNK1112: module machine type 'X86' conflicts with target
machine type 'THUMB'

I think that means that the test library is built as x86, which
complains when it links against STLport's THUMB. It's as if my toolset
wasn't being seen. Any idea what is going on here?

I do this:

cd %BOOST_ROOT%\libs\system\test
bjam link=static toolset=msvc-8.0~wm5~stlport5.2
stdlib=stlport-5.2~evc8~arm > %BOOST_ROOT%\bjam.txt

and I get:
...patience...
...found 479 targets...
...updating 24 targets...
msvc.link
..\..\..\bin.v2\libs\system\test\error_code_test.test\msvc-8.0~wm5~stlport5.2^
\debug\asynch-exceptions-on\link-static\stdlib-stlport-5.2~evc8~arm\^
threading-multi\error_code_test.exe
stlportstld.5.2.lib(stlportstld.5.2.dll) : fatal error LNK1112: ^
module machine type 'X86' conflicts with target machine type 'THUMB'

I *think* I typed toolset correctly because if I just add --with-system
and cd %BOOST_ROOT%, and call it, I get no errors.

bjam --with-system link=static toolset=msvc-8.0~wm5~stlport5.2
stdlib=stlport-5.2~evc8~arm > %BOOST_ROOT%\bjam.txt

I got the same thing with the 'any' library, which made me wonder if it
is something about how I am interacting with test jamfiles.

thanks

Andy


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