Oppps....


Please ignore my last email. I must have forgotten to hit save on emacs before rebooting due to other issues I was dealing with yesterday. Looks like my problems are not longer boost builds fault but now I've got the wrong flags or whatnot set during compile for arm. I've now got to dig into some of our MSVC files to figure out waht microsoft is silently changing for you when you select the "arm" target in the project. Once I get this compiling, I'll send the mailing list a set of changes so people can repeat this.

Larry



From: Steven Watanabe <watanabesj@gmail.com>
To: Larry E. Ramey <hydrajak@yahoo.com>; Boost.Build developer's and user's list <boost-build@lists.boost.org>
Sent: Monday, October 15, 2012 9:56 PM
Subject: Re: [Boost-build] cross compiling

AMDG

On 10/15/2012 04:39 PM, Larry E. Ramey wrote:
> OK, we are almost there. When I execute now, it seems to recognize msvc and arm as a valid combo. But for some reason it is trying to execute the .rsp files, which of course windows doesn't know how to run and thus brings up the "how would you like to open this file" dialog.
>

The problem is that the compiler is expanding to nothing
(thus leaving the .rsp as the first component on the command line).

This indicates that $(cpu-conditions) isn't matching anything.
I'm not sure why.  You might want to add
ECHO cpu-conditions: $(cpu-conditions) ;
before all the toolset.flags calls to check
that it has the expected value.  If that
looks okay, you can try --debug-building
to check the build properties.  (This will generate
a ridiculous amount of output.  You can use
--with-system to limit it to one library)

>
> Its just my wild guess but I think maybe there should be a $VAR_NAME in front of the files ( has_icu_test.obj.rsp is the first one) that executes that file (probably cmd.exe or something?).
>
>
> I'm happy to try to read how to fix this, but the boost build docs are pretty.... obscure. :)
>

One problem is that you created a special toolset
version for msvc.  Just use 11.0 as the version
and pass architecture=arm when building.

In summary, what you should have is:

user-config.jam:

using msvc : 11.0 ;

command line:

./b2 toolset=msvc-11.0 architecture=arm link=shared threading=multi
runtime-link=shared variant=debug,release --without-context

(I'm being very explicit here. Some of this can be abbreviated.)

In Christ,
Steven Watanabe