Cross-compiling GSL 1.16 for ARM
问题 I am trying to cross-compile the GNU Scientific Library (gsl, v1.16) for ARM architecture (specifically the Raspberry Pi). I have used the following to configure; CROSS=armv6j-hardfloat-linux-gnueabi ./configure --host=x86_64-pc-linux-gnu --build=$CROSS --target=$CROSS \ CC=/usr/bin/$CROSS-gcc \ CXX=/usr/bin/$CROSS-g++ \ AR=/usr/bin/$CROSS-ar \ RANLIB=/usr/bin/$CROSS-ranlib \ CFLAGS="-march=armv6 -mfloat-abi=hard -mfpu-vfp" I get the following error messages: libtool: compile: /usr/bin/armv6j