coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre Courtieu <pierre.courtieu AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] How to create a makefile for a project using libraries?
- Date: Fri, 09 Feb 2018 22:19:30 +0000
- 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-oi0-f49.google.com
- Ironport-phdr: 9a23:0Kf1xhDdsrMO4G+cbwy5UyQJP3N1i/DPJgcQr6AfoPdwSPv9psbcNUDSrc9gkEXOFd2Cra4c0qyO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUmTaxe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoIODA5/2PXhMJ+j6xVvQyvqABkzoHOfI2YLuBzcr/Bcd4YQ2dKQ8ZfVzZGAoO5d4YBFesBMvhCr4nnuVQFsAWzBQ6xBOP11j9Ih2H53bAn2OkmCQHG3RIvH8gUsHvKttn6KKASUf2vzKnUzDXMce5W1Czy6IjNaB8hoPWMUahsfsrWzEkiDgXIhUiep4ziOjOazOUNs26D4uphU+KvkW8npBtrrjih3MchjJTCiIENyl3c6yl13II4Kce7RUN7e9KoDoZcuiKAO4Z5Rs4vRXxjtjwgxb0co5G7eTAHyJQ5yB7bbPyKa42I7QjiVOaVODt4g3NldK6mixa8/kWtzvfwVsaz0FZNoSpFlsfDumoR2BzU78iLUvp9/kG/1jaTzw3f9P1ILEQumafYK5Mt2KA8mocQvEjZESL7nF36jKqMeUUl/uio5f7nYrLjppKEL490ix/xMr40msOhG+g3Lg8OX3WB+eSg1b3s41D5Ta5Fjv0ziKbZsZTaKd4Hqa6+Bg9Zypwj5AqnDze6zNQYmmEKI05CeBKeloTmJ1XOIO3jAvqkmFStkDJrx+jcMbH7A5XNKGLDkLb7crpn5U5c0ll78dcK7JVNT7oFPfjbW0nrtdWeAAVqHRazxrPfCdhnzI5WcmWSGLOYPb6a5UeJ6/g1Lq+HY5IPpDfwNtAq4vfviTkynlpLLvrh5ocedH3tRqcuGE6ee3e52o5QQ1dPhRI3SanRsHPHVDdSY3ioWKdlv2M0DYunCcHIQYX/2eXdjhf+JYVfYyV9Mn7JCW3hLtzWVPIFaSbUKchkwGRdCOqRDrQ53BTrjzfUjrpqKu2Op38dvJPnkd90v6jdyUB0+jtzAMCQlWqKSjMskw==
Or you can just use -R options in _coqProject files?
P.
Le ven. 9 févr. 2018 à 23:17, Théo Zimmermann <theo.zimmi AT gmail.com> a écrit :
ThéoHi,You probably want to use the $COQPATH environment variable instead. See https://coq.inria.fr/refman/commands.html#EnvVariables and https://coq.inria.fr/refman/gallina-ext.html#loadpath.Regards,Le ven. 9 févr. 2018 à 20:32, Helmut Brandl <helmut.brandl AT gmx.net> a écrit :Hello coq-clubbers.
I have the following problem with the creation of a makefile:
- I have a coq library with several common function (i.e. a collection of *.v files). The libraries can be processed find with a proper _CoqProject file which as basically the list of source files. The program ‘coq_makefile’ generates a makefile whose usage by gnu make creates the corresponding *.vo files.
- I have two independent coq projects which want to use the library. The coq compiler needs some instructions on how to find the library objects. However for obvious reasons I don’t want to put ‘Add LoadPath’ statements into my source files.
Is there a generic way to solve this problem? Maybe the solution is so simple that I just don’t see it by reading the manual. Thanks for any hint.
Regards
Helmut
- [Coq-Club] How to create a makefile for a project using libraries?, Helmut Brandl, 02/09/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Théo Zimmermann, 02/09/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Pierre Courtieu, 02/09/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Helmut Brandl, 02/10/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Helmut Brandl, 02/10/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Pierre Courtieu, 02/10/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Théo Zimmermann, 02/10/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Helmut Brandl, 02/11/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Théo Zimmermann, 02/11/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Helmut Brandl, 02/12/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Helmut Brandl, 02/11/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Helmut Brandl, 02/14/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Helmut Brandl, 02/10/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Helmut Brandl, 02/10/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Pierre Courtieu, 02/09/2018
- Re: [Coq-Club] How to create a makefile for a project using libraries?, Théo Zimmermann, 02/09/2018
Archive powered by MHonArc 2.6.18.