From: Alain Frisch <alain@frisch.fr>
To: "Stéphane Glondu" <steph@glondu.net>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Architectures with natdynlink support...
Date: Mon, 31 May 2010 12:04:18 +0200 [thread overview]
Message-ID: <4C0389A2.40606@frisch.fr> (raw)
In-Reply-To: <4C00303F.8010704@glondu.net>
On 05/28/2010 11:06 PM, Stéphane Glondu wrote:
> Is there a practical test to be sure whether natdynlink works or not?
The only way to test if natdynlink works that I know is to try it. In
the current trunk, set NATDYNLINK=true in config/Makefile after
configure, compile everything, and then run the tests in
testsuite/tests/lib-dynlink-native (from testsuite/: "make one
DIR=tests/lib-dynlink-native"). Any other application that uses Dynlink
in native code is also a sufficient test.
> What kind of "feedback" do you expect?
Whether natdynlink works or not + the value of $host, $arch64 (and other
relevant variables) in the configure script.
> As far as Debian is concerned, Coq
> dynamically loading ssreflect and compiling stuff works on all native
> architectures [2] (as of OCaml 3.11.2), that means:
>
> - powerpc (powerpc64-unknown-linux-gnu)
> - sparc (sparc-unknown-linux-gnu)
> - kfreebsd-i386 (i686-unknown-kfreebsd*-gnu)
> - kfreebsd-amd64 (x86_64-unknown-kfreebsd*-gnu)
> - hurd-i386 (i386-unknown-gnu0.3)
> - amd64, i386 (linux kernel)
Thanks. The current list is now:
case "$host" in
*-*-cygwin*) natdynlink=true;;
i[3456]86-*-linux*) natdynlink=true;;
x86_64-*-linux*) natdynlink=true;;
i[3456]86-*-darwin10.*)
if test $arch64 == true; then
natdynlink=true
fi;;
powerpc64-*-linux*) natdynlink=true;;
sparc-*-linux*) natdynlink=true;;
i686-*-kfreebsd*) natdynlink=true;;
x86_64-*-kfreebsd*) natdynlink=true;;
i386-*-gnu0.3) natdynlink=true;;
esac
> Maybe people on this list can
> also report working natdynlink on other systems.
Indeed, this (or any comment on the list above) would be very useful.
Regards,
Alain
prev parent reply other threads:[~2010-05-31 10:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-28 21:06 Stéphane Glondu
2010-05-29 4:22 ` [Caml-list] " rixed
2010-05-31 10:04 ` Alain Frisch [this message]
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=4C0389A2.40606@frisch.fr \
--to=alain@frisch.fr \
--cc=caml-list@inria.fr \
--cc=steph@glondu.net \
/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