Boost logo

Boost-Build :

Subject: Re: [Boost-build] boost libarary building for Windows mobile 5 platform
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-17 02:22:07


On Friday 17 October 2008 09:53:00 Penchala prasad mittadodla wrote:
> HI,
> I am planning to build Boost libraries for Windows mobile 5.0/ WINCE 5.0
> platforms
>
> I am using the user-config.jam
>
> using msvc : WM5 :
> "cl.exe" :
> <compileflags>-D_CRT_SECURE_NO_WARNINGS
> <compileflags>-D_WIN32_WCE=0x501
> <compileflags>-DUNDER_CE
> <compileflags>-DWIN32_WCE_PSPC
> <compileflags>-DWINCE
> <compileflags>-DARM
> <compileflags>-D_ARM_
> <compileflags>-D_LITTLE_ENDIAN
> <compileflags>-DUNICODE
> <compileflags>-DARMV4I
> <compileflags>-D_UNICODE
> <linkflags>/subsystem:windowsce,5.01
> <linkflags>/machine:THUMB
> <linkflags>/NODEFAULTLIB:oldnames.lib
> <linkflags>/STACK:262144,4096
> <linkflags>coredll.lib
> <linkflags>corelibc.lib
> <linkflags>ole32.lib
> <linkflags>oleaut32.lib
> <linkflags>uuid.lib
> <linkflags>commctrl.lib
> <architecture>arm
> <instruction-set>armv4
> <interface>wince
> <assembler>"armasm.exe"
> ;
> using stlport : 5.1~vc8 :
> E:/STLport-5.1.6/stlport
> E:/STLport-5.1.6/lib ;
>
> and command to build is: bjam.exe --without-mpi --toolset=msvc-WM5
> --stdlib=stlport --build-type=complete stage
>
> Is it correct procedure?

I don't really know, but http://www.boost.org/development/tests/trunk/VeecoFTC.html
tells a configuration that is known to work.

> I was getting linker error target confict 'X86' with "THUMB"

This might mean you're mixing native x86 libraries with wince binaries.
Can you construct a minimal project reproducing this?

- Volodya


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