Hello,
I'm trying to cross-compile ibrdtn for arm architecture using Eclipse, the
issue is that I was retrieved an error while cross-compiling which is the
following:
make pre-build main-build
export ac_cv_func_malloc_0_nonnull=yes
Building file: ../tests/utils/TestUtils.cpp
Invoking: Cross G++ Compiler
arm-mv5sft-linux-gnueabi-g++ -I/usr/include/c++/4.6/i686-linux-gnu/64/bits
-I/usr/include/libxml2 -I/usr/include/c++/4.6/bits
-I/usr/include/c++/4.6.3/i686-linux-gnu/64/bits
-I/usr/include/c++/4.6.3/i686-linux-gnu
-I/usr/include/c++/4.6/i686-linux-gnu -I/usr/include/c++/4.6 -I/usr/include
-O0 -g3 -Wall -m32 -c -fmessage-length=0 -build=i486-build_pc-linux-gnu
-host=i686-linux -target=arm-mv5sft-linux-gnueabi -lpthread -v -MMD -MP
-MF"tests/utils/TestUtils.d" -MT"tests/utils/TestUtils.d" -o
"tests/utils/TestUtils.o" "../tests/utils/TestUtils.cpp"
*arm-mv5sft-linux-gnueabi-g++: '-b' must come at the start of the command
line*
*make: *** [tests/utils/TestUtils.o] Error 1*
I'm sure that the problem yields in the fact that eclipse doesn't set the
-b command when compiling but I don't know how to pass this command to the
compiler, any suggestion?
Thanks in advance,
Francisco