| Anonymous | Login | Signup for a new account | 2013-05-19 23:57 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0004782 | OCaml | OCaml general | public | 2009-05-02 02:05 | 2009-05-15 16:59 | ||||||
| Reporter | n8gray | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | feature | Reproducibility | N/A | ||||||
| Status | acknowledged | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.11.0 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0004782: iPhone port | ||||||||||
| Description | I would really like to use OCaml in my App Store applications for the iPhone/iPod Touch platform. It appears that Apple uses a different ABI than the OCaml ARM backend and some changes are necessary to the code generator and runtime. If Apple's ABI is documented somewhere I haven't been able to find it. However, Jeffrey Scofield described a solution that works for single-threaded OCaml code, so perhaps the changes aren't overly difficult. | ||||||||||
| Additional Information | This website describes a procedure for building a version of 3.10.2 that works on jailbroken iPhones. This is not suitable for commercial apps though. http://web.yl.is.s.u-tokyo.ac.jp/~tosh/ocaml-on-iphone/ [^] I am attaching Jeffrey Scofield's patched arm.S that he reports as working with single-threaded OCaml code. The changes that he reports include: * using .globl instead of .global to satisfy Apple's assembler * more careful treatment of r9 and r10 | ||||||||||
| Tags | Apple, arm, iPhone, OSX | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0004951) n8gray (reporter) 2009-05-05 20:15 |
configure-libetpan is a script I used for configuring and building libetpan, an e-mail library, on both the iPhone simulator (x86) and the iPhone itself (arm). I'm including it here as an example of how to use Apple's gcc on the command line for those platforms. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-05-02 02:05 | n8gray | New Issue | |
| 2009-05-02 02:05 | n8gray | File Added: fixed-arm.S | |
| 2009-05-05 20:11 | n8gray | Tag Attached: Apple | |
| 2009-05-05 20:11 | n8gray | Tag Attached: arm | |
| 2009-05-05 20:11 | n8gray | Tag Attached: iPhone | |
| 2009-05-05 20:11 | n8gray | Tag Attached: OSX | |
| 2009-05-05 20:13 | n8gray | File Added: configure-libetpan | |
| 2009-05-05 20:15 | n8gray | Note Added: 0004951 | |
| 2009-05-15 16:59 | doligez | Status | new => acknowledged |
| Copyright © 2000 - 2011 MantisBT Group |