And Im just change the SDKVER to 6.0, It's worked!
Thank you!

2012年8月21日火曜日 21時32分23秒 UTC+8 Stefan Misslinger:
>
> Here's my version, using iOS SDK 5.1:
>
> export ARCH=arm-apple-darwin10 
> export ARCH_PREFIX=$ARCH- 
> export PLATFORM=iPhoneOS 
>
> export SDKVER="5.1" 
> export 
> DEVROOT=/Applications/Xcode.app/Contents/Developer/Platforms/${PLATFORM}.platform/Developer
>  
> export SDKROOT="$DEVROOT/SDKs/${PLATFORM}$SDKVER.sdk" 
> export 
> PKG_CONFIG_PATH="$SDKROOT/usr/lib/pkgconfig:$DEVROOT/usr/lib/pkgconfig" 
> export AS="$DEVROOT/usr/bin/as" 
> export ASCPP="$DEVROOT/usr/bin/as" 
> export AR="$DEVROOT/usr/bin/ar" 
> export RANLIB="$DEVROOT/usr/bin/ranlib" 
> #export CPP="$DEVROOT/usr/bin/c++" 
> #export CXXCPP="$DEVROOT/usr/bin/c++" 
> export CC="$DEVROOT/usr/bin/gcc" 
> export CXX="$DEVROOT/usr/bin/g++" 
> export LD="$DEVROOT/usr/bin/ld" 
> export STRIP="$DEVROOT/usr/bin/strip" 
> export LIBRARY_PATH="$SDKROOT/usr/lib"
>
> export CPPFLAGS="" 
> export CFLAGS="-arch armv7 -fmessage-length=0 -pipe -fpascal-strings 
> -miphoneos-version-min=4.0 -isysroot=$SDKROOT -I$SDKROOT/usr/include 
> -I$SDKROOT/usr/include/c++/4.2.1/" 
> export CXXFLAGS="$CFLAGS" 
> export LDFLAGS="-isysroot='$SDKROOT' -L$SDKROOT/usr/lib/system 
> -L$SDKROOT/usr/lib/"
>
> ./configure --host=${ARCH} --with-protoc=protoc --enable-static 
> --disable-shared 
>
>
>
>
> On Monday, November 1, 2010 4:39:27 PM UTC+1, Marcus Better wrote:
>>
>> Hi, 
>>
>> I wonder if anyone has built libprotobuf-lite for the iOS, and if 
>> there are any special pitfalls? 
>>
>> Cheers, 
>>
>> Marcus
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to