Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Charge under a library name #1

Open
gmalecha opened this issue Nov 17, 2013 · 1 comment
Open

Building Charge under a library name #1

gmalecha opened this issue Nov 17, 2013 · 1 comment

Comments

@gmalecha
Copy link
Collaborator

Can Charge! be built under a library name to prevent name collisions with other projects?

Here is a patch

diff --git a/Charge!/KopitiamMakefile b/Charge!/KopitiamMakefile
index 342d76d..d3d5a71 100644
--- a/Charge!/KopitiamMakefile
+++ b/Charge!/KopitiamMakefile
@@ -4,11 +4,8 @@ COQFLAGS = -noglob

 bin/%.vo: src/%.v
        $(_COQCMD)
-override COQFLAGS += -R "src" ""
-override COQFLAGS += -R "bin" ""
-override COQFLAGS += -R "/Users/jebe/coqs/coq-8.4pl2/theories" "Coq"
-override COQFLAGS += -R "/Users/jebe/coqs/coq-8.4pl2/plugins" "Coq"
-override COQFLAGS += -R "/Users/jebe/coqs/coq-8.4pl2/user-contrib" ""
+override COQFLAGS += -R "src" -as "Charge"
+override COQFLAGS += -R "bin" -as "Charge"
 OBJECTS = \
        bin/Logics/BILInsts.vo \
        bin/Logics/BILogic.vo \
@gmalecha
Copy link
Collaborator Author

In addition to this, all references to Charge files should use the fully qualified names. This will make things work nicely when the module problems are fixed in the next version of Coq.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant