Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6684974
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: C/C++

2015-09-21 09:30:13

Author: fastict Date: 2014-09-19 05:11:13 +0000 (Fri, 19 Sep 2014) Log Message: ----------- branch - android - newly compiled libsndfile for android ndk platform: Ubuntu 13.04 Android NDK r10 Steps documented here: ------- 5. libsndfile tar zxvf libsndfile-1.0.25.tar.gz create file setup.sh: modify DEV_HOME as required #!/bin/sh export DEV_HOME="/var/chroot/home/fast/Desktop/installers/android" export NDK_ROOT="$DEV_HOME/android-ndk-r10" export TOOLCHAIN="$NDK_ROOT/platforms/android-9/arch-arm" export ARMVERSION=7 export SYSROOT="$TOOLCHAIN" export CFLAGS="-march=armv$ARMVERSION -mthumb --pipe --sysroot=$SYSROOT -I$SYSROOT/usr/include -I$NDK_ROOT/sources/cxx-stl/stlport/stlport -I$NDK_ROOT/sources/cxx-stl/gabi++/include -I$NDK_ROOT/sources/cxx-stl/gnu-libstdc++/4.6/include" export CPPFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS" export LDFLAGS="-L$SYSROOT/usr/lib/ -L$SYSROOT/usr/lib/system -L$NDK_ROOT/sources/cxx-stl/gabi++/libs/armeabi -L$NDK_ROOT/sources/cxx-stl/libs/armeabi -L$NDK_ROOT/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi -lgnustl_static -lsupc++" export CPATH="$NDK_ROOT/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin" export CPP="$CPATH/arm-linux-androideabi-cpp" export CXX="$CPATH/arm-linux-androideabi-g++" export CC="$CPATH/arm-linux-androideabi-gcc" export LD="$CPATH/arm-linux-androideabi-ld" export AR="$CPATH/arm-linux-androideabi-ar" ./configure \ --host="arm-linux-eabi" \ --disable-external-libs \ --disable-sqlite run ./setup.sh make copy ./src/.libs/libxerces-c.a to /android/lib Revision Links: -------------- Modified Paths: -------------- branches/fast/smartbody-toolkit-5542/android/lib/libsndfile.a This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
阅读(1064) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~