[gambit-list] A couple of random questions

mikel evins mevins at me.com
Mon Aug 1 20:30:08 EDT 2011


Okay,  got a device build that superficially appears correct, using the following modifications to Adam's flags:


Here's Adam's setup (which failed on my system):

export PATH="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:$PATH"
export CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk"
export CXX="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk"

CFLAGS="-arch armv7" LDFLAGS="-arch armv7" ./configure --host=arm --prefix=/usr/local/Gambit-C/iPhoneOS 
CFLAGS="-arch armv7" LDFLAGS="-arch armv7" make
sudo make install



Here's my modified version (which succeeded on my system):

export PATH="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:$PATH"
export CC='/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk'

export CXX='/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-g++-4.2.1 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk'

./configure --host=arm --prefix=/usr/local/Gambit-C/iPhoneOS 
make
sudo make install



(Yes, removing the CFLAGS and LDFLAGS from the .configure and make lines does appear to be necessary).

--me




More information about the Gambit-list mailing list