You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: HG 2.0 Reported for operating system, platform: iOS (All), All
Comments on the original bug report:
On 2012-05-12 07:03:43 +0000, Gabriel Jacobo wrote:
Created attachment 853
Allows SDL for iOS compilation via configure/make
I've attached a small patch that allows to compile SDL for iOS using configure/make by providing the --host=arm-apple-darwin parameter. It's not a complete solution because you still have to copy SDL_config_iphoneos.h over SDL_config.h, but it may be useful for others anyway as it produces a static library that you can just throw into XCode projects without having to set up anything else.
On 2012-06-01 11:35:16 +0000, Sam Lantinga wrote:
I tried this, but it's not using the right API headers and so forth. Do you have a complete command line that works?
On 2012-06-01 11:42:32 +0000, Gabriel Jacobo wrote:
I set up the adequate environment variables as in any cross compilation using a Python function:
def prepare_ios_env(sdk=None, target='3.0'):
""" Set up the environment variables for iOS compilation"""
env = deepcopy(os.environ)
global XCODE_ROOT, BEST_IOS_SDK
After running configure, I overwrite SDL_config.h with SDL_config_iphoneos.h, and run make.
On 2012-06-01 11:45:52 +0000, Gabriel Jacobo wrote:
I actually run the process twice, once with -arch armv6 another with -arch armv7 (and you could do it a third time for simulator support with -arch i386), then lipo all versions together.
On 2012-06-05 14:55:59 +0000, Gabriel Jacobo wrote:
Sam, you merged a few changes from this patch already, is there anything more needed to merge the rest (basically the configure/configure.in changes) ?
On 2012-06-20 13:40:04 +0000, Gabriel Jacobo wrote:
This patch was accepted (see iosbuild.sh)
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: HG 2.0
Reported for operating system, platform: iOS (All), All
Comments on the original bug report:
On 2012-05-12 07:03:43 +0000, Gabriel Jacobo wrote:
On 2012-06-01 11:35:16 +0000, Sam Lantinga wrote:
On 2012-06-01 11:42:32 +0000, Gabriel Jacobo wrote:
On 2012-06-01 11:45:52 +0000, Gabriel Jacobo wrote:
On 2012-06-05 14:55:59 +0000, Gabriel Jacobo wrote:
On 2012-06-20 13:40:04 +0000, Gabriel Jacobo wrote:
The text was updated successfully, but these errors were encountered: