Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-12-13 07:07:09

Francesco Gabbanini wrote:
>thanks to your hints, I have started exploring bjam to support CE
>builds, focusing on ARM processors.


>I did not have the batch file vc_arm.bat that you mentioned in my
>Visual Studio 8 directories, so I have written one on my own.

It should be in the same place where the x86_amd64.bat cross-compilation
batch file is.

>Next, I wrote a .jam file, named vc-8_0_ARM-tools.jam, to support
>building on ARM processors.

Great. I am looking at BBv2 support. If you look at the "[Boost-build]
[BBv2] [msvc] Various additions to the toolset" message on this list, it
contains the support I currently have for ARM.

>Then I tried to build the boost date_time project. It seems that the
>compiler works ok, and the linker properly creates all the lib versions
>of the date_time libraries.
>But I get an error when linking the dll version.
>The error seems to happen on the file greg_month.obj and it says: fatal
>error LNK1112: module machine type 'X86' conflicts with target machine
>type 'ARM'.

You need to add:


to the linker in order to get it to link properly with the ARM linker. If
you have a look at what I am doing with the BBv2/msvc.jam file, that
contains the correct code to add the above flag. You could do something
similar in the BBv1 support.

I would like to get the BBv2 supprot working as BBv1 is being phased out.

>To better understand, I thought I could show you the .bat file and the
>.jam file I mentioned above: can I attach files to the emails posted to
>this list?


- Reece

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at