Boost logo

Boost-Build :

From: Francesco Gabbanini (f.gabbanini_at_[hidden])
Date: 2005-12-13 06:25:42


Hi Reece,

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.
Next, I wrote a .jam file, named vc-8_0_ARM-tools.jam, to support building on ARM processors.
The file is similar to vc-8_0-tools.jam, which can be found under boost\tools\build\v1, but it sets some different flags for the compiler and linker.

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'.

Do you have any idea of what the problem could be?
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?

Thanks for helping,
Francesco.


Reece Dunn wrote:
Francesco Gabbanini wrote:
  
Hello,

I am relatively new to boost build.
I have used it with success to build a fairly large project I am working 
on.
Now I would like to use bjam to build boost libraries, in order to use
them on Windows CE devices, but I am facing some difficulties.
    

Join the club :)

  
How can I instruct bjam to produce CE compatible code? Is there a msvc
toolkit specially designed for CE? Has anyone had similar experiences on
bjam and CE?
    

You could install embedded VC++ 4 (which is the embedded version of VC6), 
but don't expect the Boost code to work properly on it as VC6 support is 
being removed in favour of more standard complian compilers.

If you have VC/VS2005, you can install the embedded device support. This 
will give you access to the embedded platform and the arm cross-compiler. 
However, I have been having problems with it (using the vc_arm.bat 
configuration file):

*  vc_arm.bat does not appear to set up the directories properly to 
correctly build with the CE compiler.
*  there are other compilers (sh, mips, cex86) that do not have a 
configuration batch file :(
*  you need many defines to get things building.

I have made some progress in supporting CE builds and auto-detection for 
VC2005, but I am having some problems trying to work out what is going wrong 
and have been busy with other things (response file support, PCH support and 
work).

I have a project that I would like to support WinCE on, so I will get around 
to this. If you or anyone else has WinCE experience, I'd be happy to 
collaborate on CE support.

- Reece


_______________________________________________
Boost-build mailing list
Boost-build@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-build


  

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