I’m trying to cross compile boost 1.46.1 for an embedded arm system on Ubuntu 10.10. I have a fairly large application with compiles fine using my arm tool chain.
When I follow the instructions for cross compiling boost bjam keeps on building ia32 objects instead of arm objects.
My user-config.jam is
using gcc : arm : /opt/timesys/i.MX51evk/toolchain/bin/armv7l-none-linux-gnueabi-g++ ;
When I enter
./bjam –toolchain=gcc-arm
The objects and libraries compiled are for ia32, not arm.
I’m checking with the Linux file command.
Any help would be appreciated.