Hi,
We are currently using a fairly old version of Openfl which has been working out great for us until today, when I started looking into compiling 64 bit versions for iOS.
Joshua, I’m kinda looking in your direction here a lot, I know you’re the guy to ask about this. I looked at all your forum posts about the changes you made to support 64 bit version, I have manage to incorporate a lot of the changes into our version, but alas I need some help
I can get hxcpp to build 64 bit versions of libraries, so all the standard libraries (std, regexp, zlib) are coming out ok. However I tried to compile Lime and got a problem with zlib not being set up correctly for 64 bit. So I researched and I think I found a solution which involved changing curlbuild.h. However, lime uses a bunch of third party libraries in the lime-build folder, and I think I have to recompile these (using the changed curlbuild.h) as 64 bit libraries to make them work in a 64 bit version of Lime.
So I tried going into the src directory in lime-build, and there’s a lot of make file scripts to build for different platforms and architectures. However I tried to run (on a mac):
make OS=iphoneos
but I keep getting an error:
cd ssl/curl-7.21.4/lib; make -f Makefile
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -DIPHONE=1 -D__IPHONEOS__=1 -O2 -I../../include/SDL12 -DSDL12 -arch armv6 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -Wreturn-type -Wunused-variable -fno-stack-protector -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk axtls.c -c -oaxtls.o -I../include -I../../../include -Ilib -DHAVE_CONFIG_H -DCURL_STATICLIB -I../.. -I../../axTLS/crypto -I../../axTLS/ssl -I../../axTLS/config -DUSE_AXTLS=1
make[1]: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc: No such file or directory
make[1]: *** [axtls.o] Error 1
make: *** [ssl/curl-7.21.4] Error 2
I’ve tried with a few different parameters, I’m guessing eventually I’ll want to do:
make OS=iphoneos VER=8.1 ARM=64
Am I on the right lines here? It feels like I’m close, I just need to get these last things working.
Help here would be greatly appreciated!
Thanks,
Greg