From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q11Dh2Os031695 for ; Wed, 1 Feb 2012 14:43:09 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuIBAPJAKU/RVdS2kGdsb2JhbABDq3ODAAgiAQEBAQkJDQcUBCGBcgEBAQMBEgImBgEbHQEDDAYFCwM4IxEBBQEcBjWHWptgCotugnCEfz+IcQIFC4JMiFoHAgIJBQwHBgEBAS4UA4J9BRgCCwIFbSqCVmMElSGHEIcHPYQB X-IronPort-AV: E=Sophos;i="4.71,601,1320620400"; d="scan'208";a="142373620" Received: from mail-wi0-f182.google.com ([209.85.212.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 01 Feb 2012 14:43:09 +0100 Received: by wibhn14 with SMTP id hn14so1564974wib.27 for ; Wed, 01 Feb 2012 05:43:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=XsO6xm9VR2gXRh+0JYysikNWdKft/BryluOl7t6Xa10=; b=FRcf6NcbWR/MwmmghaO/CpBr6R/a5Aw/V14+K5/r5PGWwgXCelbkwWqiNzZ4sQvTC4 Oe8juxm5IRWET1fx7YR8gVbLcD8xPYyS5VU4+3FFBvkEoHZNxONHgw23LkhqtbN16bT+ eC9SNfasq+NBNAK0XJprZqox7S5b5Q42LDRIk= Received: by 10.180.81.66 with SMTP id y2mr41556584wix.20.1328103789194; Wed, 01 Feb 2012 05:43:09 -0800 (PST) Received: from champion.polytech.unice.fr (champion.polytech.unice.fr. [157.169.10.178]) by mx.google.com with ESMTPS id fr8sm73810047wib.10.2012.02.01.05.43.07 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Feb 2012 05:43:08 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Christophe Papazian In-Reply-To: Date: Wed, 1 Feb 2012 14:43:05 +0100 Cc: Caml List Message-Id: References: <15991D0B-B2FB-47A6-8196-B149257F49B7@psellos.com> <20110824091731.GA2598@cyclops> <35FD0778-70B2-4E5A-8570-669F45165FAA@gmail.com> To: Jeffrey Scofield X-Mailer: Apple Mail (2.1251.1) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id q11Dh2Os031695 Subject: Re: [Caml-list] OpenGL ES for iPhone Simulator; working example app 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 >