Hi,

 

I have the following environment:

WinXP SP2/Visual Studio Team System 2005/Itanium cross compiler tools

 

1 . Generate boost libs using Itanium cross compiler command prompt with these options bjam -a --build-type=complete --toolset=msvc architecture=ia64 --stagedir=Winia64 stage

 

2. Compiling under Itanium configuration in VS2005 generates several  linker errors as:

error LNK2019: unresolved external symbol ._interlockedbittestandset referenced in function "[Entry] bool __cdecl boost::detail::win32::interlocked_bit_test_and_set(long *,long)" (.?interlocked_bit_test_and_set@win32@detail@boost@@YA_NPEAJJ@Z)

 

error LNK2001: unresolved external symbol _interlockedbittestandset

 

3.The projects compile fine under x86 and x64. _interlockbittestandset is not intrinsic on Itanium platform

 

Has anyone come across this before ? or what is the correct way to build boost under itanium cross platform other then the options I used.

 

Cheers,