how to compile GSL library for beagleboard-xm ?
I’ve done this:
- I’m using this toolchain: arm-linux-gnueabihf
- I installed GSL library in ubuntu 12.04:
./configure
make
make install - I’m trying to cross-compile the GSL library:
make clean
./configure --host=arm-linux-gnueabihf --prefix=/usr/arm-linux-gnueabihf
make HOST_CC=“gcc -m32” CROSS=arm-linux-gnueabihf
make install PREFIX=/usr/arm-linux-gnueabihf
-
When I’m building my project in eclipse, i don’t get error, but when i run the executable on the beagle, i’m getting: “Segmentation error”
-
I guess that i have a problem when cross-compile the library, i’m not sure about arguments in configure and make command :S
Can somebody help me???