Maemo 中交叉编译D-BUS 1.2.1

本文档详细记录了在Maemo环境中进行D-BUS 1.2.1的交叉编译过程,包括配置选项、编译检查、依赖库的检测和编译步骤等,旨在为Maemo设备上的D-BUS部署提供指导。
摘要由CSDN通过智能技术生成

Maemo 中交叉编译D-BUS 1.2.1 ,

 

 

 1 登陆到maemo的ARM环境下

2 配置dbus, 这里是为arm做编译,所以我们选择--host=arm-linux, 另外一个重要的是ac_cv_have_abstract_sockets=yes, 这个
你们在看./configure --help是看不到,是autoconf的问题。然后添加一些选项就可以了。

 

[sbox-CHINOOK_ARMEL: ~/dbus1.2.1/dbus-1.2.1] > ./configure --prefix=/usr/demo --build=i386-pc-linux-gnu --host=arm-linux  ac_cv_have_abstract_sockets=yes --with-session-socket-dir=/tmp --with-system-socket=/var/run/dbus/system_bus_socket

 

checking build system type... i386-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /scratchbox/tools/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /scratchbox/tools/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-linux-gcc... gcc3
checking whether arm-linux-gcc and cc understand -c and -o together... yes
checking for arm-linux-g++... arm-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-linux-g++ accepts -g... yes
checking dependency style of arm-linux-g++... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... arm-linux-gcc -E
checking for grep that handles long lines and -e... /scratchbox/tools/bin/grep
checking for egrep... /scratchbox/tools/bin/grep -E
checking for ANSI C header files... yes
checking for inline... inline
checking for a sed that does not truncate output... /scratchbox/tools/bin/sed
checking for ld used by arm-linux-gcc... /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arm-none-linux-gnueabi/bin/ld
checking if the linker (/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes
checking for /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/arm-none-linux-gnueabi/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /scratchbox/compilers/bin/arm-linux-nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... arm-linux-g++ -E
checking for arm-linux-g77... no
checking for arm-linux-xlf... no
checking for arm-linux-f77... no
checking for arm-linux-frt... no
checking for arm-linux-pgf77... no
checking for arm-linux-cf77... no
checking for arm-linux-fort77... no
checking for arm-linux-fl32... no
checking for arm-linux-af77... no
checking for arm-linux-xlf90... no
checking for arm-linux-f90... no
checking for arm-linux-pgf90... no
checking for arm-linux-pghpf... no
checking for arm-linux-epcf90... no
checking for arm-linux-gfortran... no
checking for arm-linux-g95... no
checking for arm-linux-xlf95... no
checking for arm-linux-f95... no
checking for arm-linux-fort... no
checking for arm-linux-ifort... no
checking for arm-linux-ifc... no
checking for arm-linux-efc... no
checking for arm-linux-pgf95... no
checking for arm-linux-lf95... no
checking for arm-linux-ftn... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /scratchbox/compilers/bin/arm-linux-nm -B output from arm-linux-gcc object... ok
checking for objdir... .libs
checking for arm-linux-ar... arm-linux-ar
checking for arm-linux-ranlib... arm-linux-ranlib
checking for arm-linux-strip... (cached) arm-li

评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值