From: Joel Reymont <joelr1@gmail.com>
To: Nicolas Ojeda Bar <nojb@math.harvard.edu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] native dynlink
Date: Sun, 6 Feb 2011 19:17:50 +0800 [thread overview]
Message-ID: <83BED8D7-7A14-4A2B-B08E-05B179C28874@gmail.com> (raw)
In-Reply-To: <FE132A19-256E-409E-B421-5BAE086AC8DB@math.harvard.edu>
On Feb 6, 2011, at 8:33 AM, Nicolas Ojeda Bar wrote:
> I tried reinstalling ocaml, but (as you can see in the output of the configure script),
> it doesn't support native dynlink on my platform (32bit, OS X). I found in
Use 64-bit binaries? Mac OSX is perfectly capable of dealing with them, even in 32-bit kernel mode.
ocamlopt -I +camlp4 dynlink.cmxa camlp4lib.cmxa -pp camlp4of foo.ml
ls foo*
foo.cmi foo.cmx foo.ml foo.o
uname -a
Darwin biggie.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
file foo.o
foo.o: Mach-O 64-bit object x86_64
--------------------------------------------------------------------------
- mac osx device driver ninja, kernel extensions and user-land usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
next prev parent reply other threads:[~2011-02-06 11:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-05 19:03 Nicolas Ojeda Bar
2011-02-05 19:21 ` Basile Starynkevitch
2011-02-05 19:42 ` Joel Reymont
[not found] ` <300769D8-9CD2-49F8-A398-F6AE659861BB@math.harvard.edu>
[not found] ` <0BC465F5-96AC-4326-8151-BE6795067156@gmail.com>
[not found] ` <FE132A19-256E-409E-B421-5BAE086AC8DB@math.harvard.edu>
2011-02-06 11:17 ` Joel Reymont [this message]
[not found] <201102061100.p16B00dj028912@walapai.inria.fr>
2011-02-06 11:15 ` CUOQ Pascal
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=83BED8D7-7A14-4A2B-B08E-05B179C28874@gmail.com \
--to=joelr1@gmail.com \
--cc=caml-list@inria.fr \
--cc=nojb@math.harvard.edu \
/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