* [Caml-list] native dynlink
@ 2011-02-05 19:03 Nicolas Ojeda Bar
2011-02-05 19:21 ` Basile Starynkevitch
0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Ojeda Bar @ 2011-02-05 19:03 UTC (permalink / raw)
To: caml-list
Hello,
I'm trying to build Ocaml 3.12.0 with native dynlink, but
./configure refuses to do so. Is native dynlink working? I'm trying
this on a 32bit X86 running OS X.
Thanks!
N
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Caml-list] native dynlink
2011-02-05 19:03 [Caml-list] native dynlink Nicolas Ojeda Bar
@ 2011-02-05 19:21 ` Basile Starynkevitch
2011-02-05 19:42 ` Joel Reymont
0 siblings, 1 reply; 5+ messages in thread
From: Basile Starynkevitch @ 2011-02-05 19:21 UTC (permalink / raw)
To: Nicolas Ojeda Bar; +Cc: caml-list
On Sat, 5 Feb 2011 14:03:21 -0500
Nicolas Ojeda Bar <nojb@math.harvard.edu> wrote:
> Hello,
>
> I'm trying to build Ocaml 3.12.0 with native dynlink, but
> ./configure refuses to do so. Is native dynlink working? I'm trying
> this on a 32bit X86 running OS X.
I am not familiar with the ugly details of MacOSX.
I would imagine that native dynlinking requires a system with dlopen, and perhaps ELF format.
Perhaps there are some tricks on MacOSX to give you a dlopen interface.
But perhaps native dynlinking is not working on MacOSX.
Regards.
PS. A similar problem is the support of GCC plugins. AFAIK, MacOSX don't have them because of lack of native dlopen (but Macos provides an "emulation", I leave you to learn the details).
--
Basile STARYNKEVITCH http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <201102061100.p16B00dj028912@walapai.inria.fr>]
* [Caml-list] native dynlink
[not found] <201102061100.p16B00dj028912@walapai.inria.fr>
@ 2011-02-06 11:15 ` CUOQ Pascal
0 siblings, 0 replies; 5+ messages in thread
From: CUOQ Pascal @ 2011-02-06 11:15 UTC (permalink / raw)
To: caml-list
Nicolas Ojeda Bar <nojb@math.harvard.edu> wrote:
> I'm trying to build Ocaml 3.12.0 with native dynlink, but
> ./configure refuses to do so. Is native dynlink working? I'm trying
> this on a 32bit X86 running OS X.
Native dynlink of 32-bit is unsupported in Snow Leopard.
Apple simply removed the support for the necessary option
in the linker when transitioning from Leopard to Snow Leopard.
As far as I know, and I have played with these options quite
a bit, the configure script is optimal: you can try forcing it,
but you are likely to get a compiler that silently produces
binaries that don't work.
Pascal
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-06 11:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-05 19:03 [Caml-list] native dynlink 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
[not found] <201102061100.p16B00dj028912@walapai.inria.fr>
2011-02-06 11:15 ` CUOQ Pascal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox