How to build GLib for iOS
I want to use lasem in my iOS App, but compiling lasem needs glib. How to build it? I download glib-2.37.4 from https://git.gnome.org/browse/glib/refs/tags . I then used autogen.sh to get a configure file, ran make and installed on mac. I wrote a shell script try to build glib for iOS, as blow: export path=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/:$path export CC=arm-apple-darwin10-llvm-gcc-4.2 export CFLAGS="-arch armv7" export LDFLAGS="-miphoneos-version-min=2.0" export LD="/Applications/Xcode.app/Contents/Developer/Platforms