Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Issue crosscompiling from 64bits to 32bits machine
icon4.gif  Issue crosscompiling from 64bits to 32bits machine [message #999169] Fri, 11 January 2013 13:56
J C is currently offline J CFriend
Messages: 7
Registered: January 2013
Junior Member
Hello,

I'm trying to crosscompile a C++ project (from a i686 64bits to an arm architecture 32bits), the point is that I've already got it through linux command line,using make command, but now I'd like to achieve that in Eclipse IDE.

The problem is that I must have missconfigured something in Eclipse since I cannot crosscompile the code correctly, below I've attached the out which is given by Eclipse console. It can be seen how it complains about it isn't able to find the path/library; however, I have added that path to the project settings...

Any suggestion will be appreciated!!

**** Build of configuration Debug for project ibrdtn-0.8.0 ****

make pre-build main-build 
export ac_cv_func_malloc_0_nonnull=yes
 
Building file: ../ibrcommon/ssl/gcm/gcm_aes.c
Invoking: Cross GCC Compiler
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 -I/usr/include/openssl -O0 -p -pedantic -Wall -m32 CC=c99 -c -fmessage-length=0 -build=i486-build_pc-linux-gnu -host=i686-linux -target=arm-mv5sft-linux-gnueabi -lpthread -v -MMD -MP -MF"ibrcommon/ssl/gcm/gcm_aes.d" -MT"ibrcommon/ssl/gcm/gcm_aes.d" -o "ibrcommon/ssl/gcm/gcm_aes.o" "../ibrcommon/ssl/gcm/gcm_aes.c"
/bin/sh: 1: I/usr/include/c++/4.6/i686-linux-gnu/64/bits: not found
make: [ibrcommon/ssl/gcm/gcm_aes.o] Error 127 (ignored)
/bin/sh: 1: I/usr/include/c++/4.6/i686-linux-gnu/64/bits: not found
make: [ibrcommon/net/nl_policy.o] Error 127 (ignored)
arm-mv5sft-linux-gnueabi-gcc: ./ibrcommon/ssl/gcm/gcm_aes.o: No such file or directory
Finished building: ../ibrcommon/ssl/gcm/gcm_aes.c
 
Building file: ../ibrcommon/net/nl_policy.c
Invoking: Cross GCC Compiler
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 -I/usr/include/openssl -O0 -p -pedantic -Wall -m32 CC=c99 -c -fmessage-length=0 -build=i486-build_pc-linux-gnu -host=i686-linux -target=arm-mv5sft-linux-gnueabi -lpthread -v -MMD -MP -MF"ibrcommon/net/nl_policy.d" -MT"ibrcommon/net/nl_policy.d" -o "ibrcommon/net/nl_policy.o" "../ibrcommon/net/nl_policy.c"
arm-mv5sft-linux-gnueabi-gcc: ./ibrcommon/net/nl_policy.o: No such file or directory
arm-mv5sft-linux-gnueabi-gcc: no input files
Finished building: ../ibrcommon/net/nl_policy.c
 
Building target: libibrdtn-0.8.0.so
Invoking: Cross GCC Linker
arm-mv5sft-linux-gnueabi-gcc -m32 -shared -p -o "libibrdtn-0.8.0.so"  ./ibrcommon/ssl/gcm/gcm_aes.o  ./ibrcommon/net/nl_policy.o   
make: *** [libibrdtn-0.8.0.so] Error 1

**** Build Finished ****



Thanks in advance,

regards!
Previous Topic:MBS Custom launch configuration type filter
Next Topic:CDT uninstalls itself on startup!
Goto Forum:
  


Current Time: Sat Dec 20 13:48:45 GMT 2014

Powered by FUDForum. Page generated in 0.01620 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software