交叉编译dbus

来源:互联网 发布:淘宝店的导航栏尺寸 编辑:程序博客网 时间:2024/06/06 10:39

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




0 0