Hi

How I could compile boost for another arquitecture?
I thougth I have done it right, but when compiling my program with a static link to a boost library I'm getting this message:

/home/carlos/Arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: /usr/local/boost_1_42_0/lib/libboost_system.a(error_code.o): Relocations in generic ELF (EM: 3)
/home/carlos/Arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: /usr/local/boost_1_42_0/lib/libboost_system.a(error_code.o): Relocations in generic ELF (EM: 3)
/home/carlos/Arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: /usr/local/boost_1_42_0/lib/libboost_system.a(error_code.o): Relocations in generic ELF (EM: 3)
/home/carlos/Arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: /usr/local/boost_1_42_0/lib/libboost_system.a(error_code.o): Relocations in generic ELF (EM: 3)
/home/carlos/Arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: /usr/local/boost_1_42_0/lib/libboost_system.a(error_code.o): Relocations in generic ELF (EM: 3)
/home/carlos/Arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: /usr/local/boost_1_42_0/lib/libboost_system.a(error_code.o): Relocations in generic ELF (EM: 3)
/home/carlos/Arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: /usr/local/boost_1_42_0/lib/libboost_system.a(error_code.o): Relocations in generic ELF (EM: 3)
/home/carlos/Arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: /usr/local/boost_1_42_0/lib/libboost_system.a(error_code.o): Relocations in generic ELF (EM: 3)
/home/carlos/Arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: /usr/local/boost_1_42_0/lib/libboost_system.a(error_code.o): Relocations in generic ELF (EM: 3)
/home/carlos/Arm/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/../../../../arm-none-linux-gnueabi/bin/ld: /usr/local/boost_1_42_0/lib/libboost_system.a(error_code.o): Relocations in generic ELF (EM: 3)
/usr/local/boost_1_42_0/lib/libboost_system.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

I'm getting around this problem and I found that it might be because I don't compile boost in the right way.
Any ideias how I do that?