$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Compile boost for arm-eabi
From: Carlos (asc2.cemg_at_[hidden])
Date: 2010-02-27 11:07:43
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?