Changeset 14487


Ignore:
Timestamp:
03/28/13 22:54:28 (12 years ago)
Author:
Eric.Larour
Message:

CHG: iOS cross compile, missing cross-linking with gsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/configs/config-ios-linux.sh ΒΆ

    r14396 r14487  
    11#!/bin/sh
     2
     3export DEVROOT="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/"
     4export SDKROOT="$DEVROOT/SDKs/iPhoneOS6.0.sdk/"
     5export CC=$DEVROOT/usr/bin/gcc
     6export LD=$DEVROOT/usr/bin/ld
     7export CPP=$DEVROOT/usr/bin/cpp
     8export CXX=$DEVROOT/usr/bin/g++
     9export CXXFLAGS="-O -arch armv7 -isysroot $SDKROOT"
     10export CFLAGS="-O -arch armv7 -isysroot $SDKROOT"
     11export AR=$DEVROOT/usr/bin/ar
     12export AS=$DEVROOT/usr/bin/as
     13export LDFLAGS="-lstdc++ -arch armv7 -isysroot $SDKROOT"
     14export LIBTOOL=$DEVROOT/usr/bin/libtool
     15export STRIP=$DEVROOT/usr/bin/strip
     16export RANLIB=$DEVROOT/usr/bin/ranlib
    217
    318./configure \
    419        --prefix=$ISSM_DIR \
    520    --build="i386-apple-darwin10.8.0" \
    6     --host="arm-linux-androideabi" \
     21    --host="arm-apple-darwin10" \
    722    --enable-shared \
    823    --with-ios=yes \
Note: See TracChangeset for help on using the changeset viewer.