canutils移植到ARM Linux

ARM 528瀏覽

canutils移植到ARM Linux步驟:

./configure --host=arm-linux-gnueabihf ?--prefix=/work/src_packages/can_tools/bin/libsocketcan/

make?
make install

./configure --host=arm-linux-gnueabihf --prefix=/work/src_packages/can_tools/bin/canutils ? ?libsocketcan_LIBS=-lsocketcan LDFLAGS=-L/work/src_packages/can_tools/bin/libsocketcan/lib ?libsocketcan_CFLAGS=-I/work/src_packages/can_tools/bin/libsocketcan/include CFLAGS=-I/work/src_packages/can_tools/bin/libsocketcan/include

注意是libsocketcan_CFLAGS 而不是CPPFLAGS

 

參考鏈接:canutils移植到ARM Linux,http://blog.csdn.net/sno_guo/article/details/17029295

七星彩走势图2元网官网