OS: Microsoft Windows 7
- Download and install cygwin. Besides the default installation, I also installed the following packages: autoconf, automake, gtk+, gcc4, intltool, libglade2.0-devel, libglade2.0_0, libgnomecanvas2-devel, libgnomecanvas2_0, libgnomeui2-devel, libgnomeui2_0, libgtk2.0-devel, libgtk2.0_0, libncurses-devel, libncursesw-devel, libpng12-devel, libpng14-devel, librsvg2-devel, librsvg2_2, libstdc++6-devel, libxml2, libxml2-devel, make, pkg-config, ocaml, zlib-devel, xorg-server, xinit, xorg-docs, x-start-menu-icons.
- Download and install camlp5-5.15.
$ ./configure $ make world.opt $ make install
- Download and install findlib-1.2.6.
$ ./configure $ make all $ make opt $ make install
- Download and install gtksourceview-2.11.2.
$ ./configure $ make $ make install
- Download and install lablgtk-2.14.2.
$ ./configure $ make world $ make install
- Download and install ocamlgraph-1.5.
$ ./configure $ make $ make install
- Download and install coq-8.2pl2.
$ ./configure Remove -mno-cygwin in CFLAGS in config/Makefile. Change DLLEXT=.dll to DLLEXT=.so in config/Makefile. $ make world $ make install
- Download and install ssreflect-1.2.
$ coq_makefile -f Make -o Makefile $ make $ make install $ coqmktop -boot -ide -opt src/ssreflect.cmx -o bin/ssrcoqide $ cp bin/ssrcoq /usr/local/bin/ssrcoq.opt $ cp bin/ssrcoqide /usr/local/bin/ssrcoqide.opt
Create the following two bash scripts.
- /usr/local/bin/ssrcoq
#!/bin/bash /usr/local/bin/ssrcoq.opt \ -I /usr/local/lib/coq/user-contrib/theories $*
- /usr/local/bin/ssrcoqide
#!/bin/bash /usr/local/bin/ssrcoqide.opt \ -I /usr/local/lib/coq/user-contrib/theories $*
- /usr/local/bin/ssrcoq
0 意見:
張貼留言