coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jonathan Leivent <jonikelee AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] coq_makefile and the -q option
- Date: Tue, 2 Aug 2016 09:45:44 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f174.google.com
- Ironport-phdr: 9a23:P9a5yxeCRZ0EY+z1iAM7SacqlGMj4u6mDksu8pMizoh2WeGdxc65Zx7h7PlgxGXEQZ/co6odzbGH6+a/CSdcud6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JXvkb/isMGLKyxzxxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cY6Lod8JtLVry/dKAlR5RZCi4nOiY7/p7Frx7GGCmI4HIAUmwQ2j5FAhbI6g2yCpX2tCr5u+5w1QGVOMT3SfY/XjH0vPQjcwPhlCpSb21xy2rQkMEl1K8=
On 08/02/2016 03:53 AM, Jason Gross wrote:
Makefiles should be portable. A Makefile that only works on your machine
is not very useful. Consider instead having an extra file, maybe
Settings.v, which you build with a separate Makefile, and pass -require
MyProject.Settings along to your build process.
Jason,
How does the mechanism you propose help matters? The Settings.v file then becomes the point of conflict. If each project must have its own Settings.v file that tells it where all other projects are on that machine, then each time that project is transferred to a different machine, the project's local Settings.v must change. If, instead, one uses something like a symbolic link to a global Settings.v file for that machine, then that effectively re-creates the resource file mechanism.
But, supposing you are correct - why isn't this mechanism documented instead of resource files and COQPATH? RTFM-GF'd?
-- Jonathan
On Mon, Aug 1, 2016, 1:17 PM Jonathan Leivent
<jonikelee AT gmail.com>
wrote:
Why do Makefiles generated via coq_makefile pass -q to coqc?
If a user decides they want to use a resource file (one that for example
Adds to the LoadPath), how do they configure coq_makefile to use it?
-- Jonathan
- [Coq-Club] coq_makefile and the -q option, Jonathan Leivent, 08/01/2016
- Re: [Coq-Club] coq_makefile and the -q option, Jason Gross, 08/02/2016
- Re: [Coq-Club] coq_makefile and the -q option, Jonathan Leivent, 08/02/2016
- Re: [Coq-Club] coq_makefile and the -q option, Jason Gross, 08/02/2016
- Re: [Coq-Club] coq_makefile and the -q option, Jonathan Leivent, 08/02/2016
- Re: [Coq-Club] coq_makefile and the -q option, Jason Gross, 08/02/2016
- Re: [Coq-Club] coq_makefile and the -q option, Jonathan Leivent, 08/02/2016
- Re: [Coq-Club] coq_makefile and the -q option, Jason Gross, 08/02/2016
Archive powered by MHonArc 2.6.18.