Hello I have downloaded some C++ source code project from Internet, which incorporated autotools feature. My goal consists on cross-compilng for an arm processor, so the project is already configured to work with autotools, but when I try to crosscompile using the configure below ./configure --build=i686-linux --host=arm-mv5sft-linux-gnueabi --target=arm-mv5sft-linux-gnueabi CC=/home/t/s/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/arm-mv5sft-linux-gnueabi-gcc CXX=/home/t/s/arm-mv5sft-linux-gnueabi/SW3.2p1/bin/arm-mv5sft-linux-gnueabi-g++ --with-gnu-ld --with-sysroot=/h/t/s/arm-mv5sft-linux-gnueabi/SW3.2p1/arm-mv5sft-linux-gnueabi CFLAGS="-m32" LDFLAGS="-m32" --prefix=/ibrdtn-svn/dtnCross/ After cheking the configure output (I've attached a snippet below) I have realized that the compilers aren't set properly, should I include the path where the compiler are in instead of setting the flags? ... checking for arm-mv5sft-linux-gnueabi-g++... no checking for arm-mv5sft-linux-gnueabi-c++... no checking for arm-mv5sft-linux-gnueabi-gpp... no checking for arm-mv5sft-linux-gnueabi-aCC... no checking for arm-mv5sft-linux-gnueabi-CC... no checking for arm-mv5sft-linux-gnueabi-cxx... no checking for arm-mv5sft-linux-gnueabi-cc++... no checking for arm-mv5sft-linux-gnueabi-cl.exe... no checking for arm-mv5sft-linux-gnueabi-FCC... no checking for arm-mv5sft-linux-gnueabi-KCC... no checking for arm-mv5sft-linux-gnueabi-RCC... no checking for arm-mv5sft-linux-gnueabi-xlC_r... no checking for arm-mv5sft-linux-gnueabi-xlC... no Any suggestion would be appreciated, Thanks in advance, Regards
Crosscompilation issues of C++ project
No I didn't, I guessed it was enough with setting the C and C++ compilers flags in the ./configure. Should I add the path instead the flags? Or I should set both? Thanks in advance
I included my cross-compile path before to make/make, like this: first I export all variables: export CROSS_COMPILE=gnu-none-gnueabi- export ARCH=arm . . . export PATH=/opt/FriendlyArm/.../Bin/:$PATH and after I call config and make Try this, perhaps works.