coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Guillaume Melquiond <guillaume.melquiond AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Problem with Native-Coq
- Date: Tue, 18 Aug 2015 07:41:58 +0200
On 17/08/2015 23:04, Christoph-Simon Senjak wrote:
Hi.
I am trying to use Native-Coq to compile some of my code, and it ...
sometimes ... works, and sometimes it doesn't, with no apparent reason.
So here is a configuration where it fails:
$ coqc Shorthand.v
File "./NShorthand.ml", line 1, characters 0-17:
Error: Unbound module Nativevalues
Anomaly: Library compilation failure. Please report.
Using strace, I found out that it executes the following ocamlopt command:
ocamlopt -shared -o ./NShorthand.cmxs -rectypes -w -A -II think
/usr/lib/ocaml/camlp5 -I /usr/local/config -I /usr/local/lib -I
/usr/local/kernel -I /usr/local/library [...]
-I /usr/local/kernel -I /usr/local/library
should be
-I /usr/local/lib/coq/kernel -I /usr/local/lib/coq/library
Yes. What does your config/coqlib.ml:coqlib variable contains?
(and probably /usr/local/config also /usr/local/lib/coq/config)
That is surprising. Which version of coq are you using? I am asking because your first three -I options should be tempdir, coq/kernel, and coq/library. So you have three extraneous -I options and you are missing one.
Best regards,
Guillaume
- [Coq-Club] Problem with Native-Coq, Christoph-Simon Senjak, 08/17/2015
- Re: [Coq-Club] Problem with Native-Coq, Guillaume Melquiond, 08/18/2015
- Re: [Coq-Club] Problem with Native-Coq, Christoph-Simon Senjak, 08/18/2015
- Re: [Coq-Club] Problem with Native-Coq, Guillaume Melquiond, 08/18/2015
- Re: [Coq-Club] Problem with Native-Coq, Christoph-Simon Senjak, 08/18/2015
- Re: [Coq-Club] Problem with Native-Coq, Chantal Keller, 08/26/2015
- Re: [Coq-Club] Problem with Native-Coq, Christoph-Simon Senjak, 08/18/2015
- Re: [Coq-Club] Problem with Native-Coq, Guillaume Melquiond, 08/18/2015
- Re: [Coq-Club] Problem with Native-Coq, Christoph-Simon Senjak, 08/18/2015
- Re: [Coq-Club] Problem with Native-Coq, Guillaume Melquiond, 08/18/2015
Archive powered by MHonArc 2.6.18.