coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre Courtieu <pierre.courtieu AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Cc: Ramkumar Ramachandra <artagnon AT gmail.com>
- Subject: Re: [Coq-Club] loadpath
- Date: Wed, 5 Feb 2020 10:29:34 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=pierre.courtieu AT gmail.com; spf=Pass smtp.mailfrom=pierre.courtieu AT gmail.com; spf=None smtp.helo=postmaster AT mail-pg1-f195.google.com
- Ironport-phdr: 9a23:kO8tKRJmYHswrRWDOdmcpTZWNBhigK39O0sv0rFitYgeLPrxwZ3uMQTl6Ol3ixeRBMOHsq4C1rOd6/yoGTRZp8rY6zZaKN0EfiRGoP1epxYnDs+BBB+zB9/RRAt+Iv5/UkR49WqwK0lfFZW2TVTTpnqv8WxaQU2nZkJ6KevvB4Hdkdm82fys9J3PeQVIgye2ba9vIBmsogjdq8YbjZFiJ6osxRfFvnRFcPlSyW90OF6fhRnx6tq+8ZJ57yhcp/ct/NNcXKvneKg1UaZWByk8PWAv483ruxjDTQ+R6XYZT24bjBlGDRXb4R/jRpv+vTf0ueR72CmBIM35Vqs0Vii476dqUxDnliEKPCMk/W7Ni8xwiKVboA+9pxF63oXZbp2ZOOZ4c6jAZt4RW3ZPUdhNWCxAGoO8bpUAD+wdPeZDsoLxo0ICoQaiCQWwAe/izCJDiH3r0q0gy+kuHg/G0w4gEdwAs3rascv7O7sdX+2u0KnI1C/OY+9K1Tvh6oXFdA0qr/GWXbJ3dMrc0VMhFwLbgVWKs4zqIS6e2/oKs2iG9epgSeOvhHA6qwpspTWv3sYshZfThoIP1F/I7zl2wIEoJd2iVE57YMCrEIZLuiGVMot5WMIiQ2VytCkmzb0GvIe2cS4Xw5opwB7fbuaIc4mO4h/7VeaRJy14hHN/d76liRay606twfD/WMmsyFtGsDZJn93Wun0O1xHf8NaLRuZ980u7xDqC0wDe5+dZKk4uj6XbMYQuwrsom5oTr0vDGij2lV3zjKCMd0Uk/vGk6/zoYrn7v5OcOZJ4hwX+P6g0lcy/BuM4MgcKX2eF4+izyLrj/UjhTLVLiP05jLXZvYjEKcgHoqO1GQxY34Y55xqhEjur0M4UkWQDIV9FYB6HipLmO1DKIPD2F/e/hFGsnS9zx/DHILLhGI/NIWbZnLj9erZ99lRcyBYyzd9B+pJZEb4BIPfpVU/wsNzUFAM2Mwuxw+r/EtVyypseWX6TAq+eKK7drViI5vs2L+aQYI8VpS3yJuM+5//uiH85gUUScbOo3ZsRcnC4H+5pL1+XYXr20Z89FjIhuRN2Z+j3ghXWWjlKIn22QqgU5zchCYvgA52VFa63h7nU5Ca2BIdbLktBF0qQEHr1P9GcWvoWci/UKch8iCAFWKWJRIoo1BXovwj/nek0ZtHI8zEV4MqwnON+4PfewFRrrWQtXpatllqVRmQxpVsmAjo/3aRxu0t4kw7R3q1xgvgeHttWtaoQDlUKcKXExuk/MOjcHxrbd47QGlmjS9SiRzo2S4BpmoJcUwNGA9ynyyv78W+qDrsSzeLZAZU19ufE0CG0KZ8sljDJ064ui1RgScxKZzWr
You should remove all .vo generated before you had a makefile, so that
make rebuilds everything. `make clean` should probably do that. If it
still does not work you may have to point us to your real use case.
Best
Pierre
Le mer. 5 févr. 2020 à 09:03, Jeremy Dawson
<Jeremy.Dawson AT anu.edu.au>
a écrit :
>
> Well, here is the _CoqProject file, just contains these two non-blank lines
>
> -Q ttt/xxx Cat
>
> ttt/xxx/sss.v
>
> I don't think it built very much because the Makefile supplied to me
> with the files built a lot of stuff so I just got
>
> make[1]: Nothing to be done for ...
>
> but the directory ttt/xxx contains lots of .vo files
>
> I would really like to know where to find information on this topic
>
> Thanks
>
> Jeremy
>
>
>
>
> On 5/2/20 6:49 pm, Ramkumar Ramachandra wrote:
> > Did you order your _CoqProject properly? Did it build the files in the
> > subdirectory first? (Do you have .vo files in the subdirectory
> > corresponding to the .v files you want to import?)
> >
> > R.
> >
> > On Wed, Feb 5, 2020 at 8:43 AM Jeremy Dawson
> > <Jeremy.Dawson AT anu.edu.au
> > <mailto:Jeremy.Dawson AT anu.edu.au>>
> > wrote:
> >
> >
> > Thanks - that generates a Makefile, and make seems to work OK but
> > then I get
> >
> > > From Cat Require Import sxxx.
> > > ^^^^
> > Error:
> > Cannot find a physical path bound to logical path matching suffix
> > <> and prefix Cat.
> >
> > Thanks,
> >
> > Jeremy
> >
> > On 5/2/20 6:34 pm, Ramkumar Ramachandra wrote:
> > > Try `coq_makefile -f _CoqProject -o Makefile`.
> > >
> > > R.
> > >
> > > On Wed, Feb 5, 2020 at 8:33 AM Jeremy Dawson
> >
> > <Jeremy.Dawson AT anu.edu.au
> >
> > <mailto:Jeremy.Dawson AT anu.edu.au>
> > >
> > <mailto:Jeremy.Dawson AT anu.edu.au
> >
> > <mailto:Jeremy.Dawson AT anu.edu.au>>>
> > wrote:
> > >
> > > Thanks - but coq_makefile doesn't generate a Makefile - it does
> > > generate
> > > a file called CoqMakefile.conf
> > >
> > > Is coq_makefile documented? It's not in the index (ie
> > > https://coq.inria.fr/distrib/current/refman/genindex.html
> > >
> > > Is this where I should be looking for documentation? )
> > >
> > > And the man page is hardly helpful
> > >
> > > Thanks
> > >
> > > Jeremy
> > >
> > > On 5/2/20 6:14 pm, Ramkumar Ramachandra wrote:
> > > > Hi Jeremy,
> > > >
> > > > You need to set up an `_CoqProject` like this:
> > > >
> > > > ```
> > > > -Q category Cat
> > > >
> > > > category/cat.v
> > > > category/ncat.v
> > > > ```
> > > >
> > > > ... and run `coq_makefile` to generate a Makefile. Note
> > that if
> > > you can
> > > > `make` the project, then Coq should work from Emacs just
> > fine.
> > > >
> > > > In the example I've supplied, "category" is the
> > subdirectory you
> > > want to
> > > > include, and you'd use `From Cat Require Import ...` to
> > include a
> > > file
> > > > in it.
> > > >
> > > > R.
> > > >
> > > > On Wed, Feb 5, 2020 at 8:09 AM Jeremy Dawson
> > >
> > <Jeremy.Dawson AT anu.edu.au
> >
> > <mailto:Jeremy.Dawson AT anu.edu.au>
> >
> > <mailto:Jeremy.Dawson AT anu.edu.au
> >
> > <mailto:Jeremy.Dawson AT anu.edu.au>>
> > > >
> > <mailto:Jeremy.Dawson AT anu.edu.au
> >
> > <mailto:Jeremy.Dawson AT anu.edu.au>
> > >
> > <mailto:Jeremy.Dawson AT anu.edu.au
> >
> > <mailto:Jeremy.Dawson AT anu.edu.au>>>>
> > wrote:
> > > >
> > > > Hi,
> > > >
> > > > The documentation at
> > > >
> > >
> >
> > https://coq.inria.fr/distrib/current/refman/proof-engine/vernacular-commands.html#coq:cmd.load
> > > > says
> > > >
> > > > This command loads the file named ident.v,
> > searching
> > > successively
> > > > in each of the directories specified in the loadpath.
> > (see
> > > Section
> > > > Libraries and filesystem)
> > > > but when I go to that section it doesn't tell you how
> > to set a
> > > > "loadpath" or how to view what it is (or even what it
> > is, so I've
> > > > got to
> > > > guess it's as in other languages that I'm familiar
> > with - and
> > > that
> > > > somehow doesn't seem to fit the case)
> > > >
> > > > So how do I load a file (eg, ttt/TTT/sss.v)
> > > >
> > > > Thanks
> > > >
> > > > Jeremy
> > > >
> > >
> >
- [Coq-Club] loadpath, Jeremy Dawson, 02/05/2020
- Re: [Coq-Club] loadpath, Ramkumar Ramachandra, 02/05/2020
- Re: [Coq-Club] loadpath, Jeremy Dawson, 02/05/2020
- Re: [Coq-Club] loadpath, Ramkumar Ramachandra, 02/05/2020
- Re: [Coq-Club] loadpath, Jeremy Dawson, 02/05/2020
- Re: [Coq-Club] loadpath, Ramkumar Ramachandra, 02/05/2020
- Re: [Coq-Club] loadpath, Jeremy Dawson, 02/05/2020
- Re: [Coq-Club] loadpath, Pierre Courtieu, 02/05/2020
- Re: [Coq-Club] loadpath, Jeremy Dawson, 02/05/2020
- Re: [Coq-Club] loadpath, Ramkumar Ramachandra, 02/05/2020
- Re: [Coq-Club] loadpath, Jeremy Dawson, 02/05/2020
- Re: [Coq-Club] loadpath, Ramkumar Ramachandra, 02/05/2020
- Re: [Coq-Club] loadpath, Jeremy Dawson, 02/05/2020
- Re: [Coq-Club] loadpath, Ramkumar Ramachandra, 02/05/2020
Archive powered by MHonArc 2.6.18.