Boost logo

Boost Users :

Subject: [Boost-users] Compile boost for arm-eabi
From: Carlos (asc2.cemg_at_[hidden])
Date: 2010-02-28 03:31:10


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?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net