caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christophe Papazian <christophe.papazian@gmail.com>
To: Jeffrey Scofield <jeffsco@psellos.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] OpenGL ES for iPhone Simulator; working example app
Date: Wed, 1 Feb 2012 14:43:05 +0100	[thread overview]
Message-ID: <D5361C37-128E-464C-9A68-EEC079B2C929@gmail.com> (raw)
In-Reply-To: <BEB493EF-02F1-4CCA-909D-BA1EE119937A@psellos.com>

I found a way to adapt your patch to cross compile ocaml 3.10
with the last Xcode and IOS SDK. But, I still get alignment warnings,
AND SEGFAULT if I use some ocaml instructions like (+.) (float addition).

However, I can get lucky and compile a stable binary (on iPhone) if I avoid some instructions..
I tried to adapt your patch to the last version of ocaml, but there was so many changes
in the assembler that I stop. If anyone has an idea to help me.

Question 2 : do you plan to release some general bindings to the iOS SDK ?

Thank you !

	Christophe

> 
> One extra comment occurred to me:
> 
> We're doing development under Xcode 4.0.2 right now, but the
> generated binaries work fine under iOS 5.0.  So any new
> difficulties in Xcode 4.2 are almost certainly caused by changes
> in Xcode's cross compilation toolchain.  Historically there have
> been a few of these in each new release of Xcode.
> 
> Regards,
> 
> Jeffrey
> 



  reply	other threads:[~2012-02-01 13:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-22 17:40 Jeffrey Scofield
2011-08-24  9:17 ` sashan
2011-08-24 15:09   ` [Caml-list] " Jeffrey Scofield
2012-01-30 16:46     ` [Caml-list] " Christophe Papazian
2012-01-30 16:54       ` Jeffrey Scofield
2012-01-30 17:11       ` Jeffrey Scofield
2012-02-01 13:43         ` Christophe Papazian [this message]
2012-02-01 16:30           ` Jeffrey Scofield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D5361C37-128E-464C-9A68-EEC079B2C929@gmail.com \
    --to=christophe.papazian@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=jeffsco@psellos.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).