SuperIC社区_
标题: mstar 交叉编译工具编译bluez 4.95 [打印本页]
作者: furuihai 时间: 2017-12-29 17:48
标题: mstar 交叉编译工具编译bluez 4.95
源码可以从网上下载到,主要configure可以参考,编译OK,用起来问题还是挺多的。
expat-2.0.1
./configure --prefix=/usr/local/bluez-4.95 --host=mips-linux CC="mips-linux-gnu-gcc -EL"
make
make install
dbus-1.10.0
./configure --prefix=/usr/local/bluez-4.95 --host=mips-linux --with-x=no --enable-abstract-sockets CC="mips-linux-gnu-gcc -EL" CFLAGS=-I/usr/local/bluez-4.95/include LDFLAGS=-L/usr/local/bluez-4.95/lib
make
make install
glib-2.16.2
./configure --prefix=/usr/local/bluez-4.95 --host=mips-linux CC="mips-linux-gnu-gcc -EL" glib_cv_stack_grows=no glib_cv_uscore=yes glib_cv_have_qsort_r=yes ac_cv_func_posix_getpwuid_r=yes ac_cv_func_posix_getgrgid_r=yes
make
make install
bluez-4.96
export PKG_CONFIG_LIBDIR=/usr/local/bluez-4.95/lib/pkgconfig
./configure --prefix=/usr/local/bluez-4.95 --host=mips-linux --disable-audio --enable-network --enable-serial --enable-input --enable-service --enable-health --enable-usb --enable-tools --enable-bccmd --enable-hid2hci --enable-hidd --enable-pand --enable-cups --enable-gatt-example --enable-test --enable-all CC="mips-linux-gnu-gcc -EL" CFLAGS=-I/usr/local/bluez-4.95/include LDFLAGS=-L/usr/local/bluez-4.95/lib
make
make install
bluez-hcidump_2.5
./configure --prefix=/usr/local/bluez-4.95 --host=mips-linux CC="mips-linux-gnu-gcc -EL"
make
make install
cd ncurses-5.9
./configure --prefix=/usr/local/bluez-4.95 --host=mips-linux CC="mips-linux-gnu-gcc -EL" --with-shared
make
make install
cd readline-6.3
./configure --prefix=/usr/local/bluez-4.95 --host=mips-linux CC="mips-linux-gnu-gcc -EL" bash_cv_wcwidth_broken=yes
make
make install
作者: yuanqinhao 时间: 2017-12-29 17:53








欢迎光临 SuperIC社区_ (/) |
Powered by Discuz! X3.3 |