I am trying to cross compile Jansson for iOS (armv7) from my machine (x86_64). I have learned that with xcode 5, apple has removed llvm-gcc and thus, armv7-apple-darwin-gcc
can't be found. The result lib is compiled for x86_64 instead.
This is my current configuration:
./configure --prefix=/resultdir --host=armv7-apple-darwin --target=armv7-apple-darwin
I saw multiple posts of people saying they have jansson compiled for arm architecture so I know its possible. Just can't seem to be able to do it.
Any ideas on how to do this?