Build android source on SnowLeopard with xcode4

1) Install 10.5 SDK from xcode 3’s dmg

2) Specify “CC=gcc-4.2 CXX=g++-4.2 CPP=cpp-4.2” before make command line to avoid an issue in default llvmgcc-4.2. Of course you can change the gcc symbolic link to what you want but I think it doesn’t make sense for this exception. llvmgcc works on most cases. I just found two exceptions till now – one is Android source, the other is ffmpeg.


Leave a Reply

Your email address will not be published. Required fields are marked *