交叉编译dbus

1. 下载dbus和expat源码

dbus:  http://dbus.freedesktop.org/releases/dbus/

expat: http://sourceforge.net/projects/expat/

2. 交叉编译expat

#./configure --host=armv6-rpi-linux-gnueabi --prefix=/opt/Rasp/expat
#make
#make install

3. 交叉编译dbus

#./configure --host=armv6-rpi-linux-gnueabi --prefix=/opt/Rasp/dbus CFLAGS=-I/opt/Rasp/expat/include LDFLAGS=-L/opt/Rasp/expat/lib
#make 
#make install
本站公众号
   欢迎关注本站公众号,获取更多程序园信息
开发小院