diff options
| author | letouzey | 2010-02-26 18:13:48 +0000 |
|---|---|---|
| committer | letouzey | 2010-02-26 18:13:48 +0000 |
| commit | f5c13ce06bd0f7e7d3a6e18467f5b4b88e253974 (patch) | |
| tree | 400556652b9b313003cf53e4a72bf6af0c83d164 /build | |
| parent | bf4aa51446834553360b800b3704d7a8374596fd (diff) | |
Some more adaptations for Debian-->mingw32
* Remove option -mwindows which isnt working : the GUI binary refuses to
launch in a real windows.
* simplification of ./build. New way of use :
./configure -prefix "" -arch win32 && ./build win32
This way we avoid any tricks with coq_config.ml.
It is also best to avoid ./configure -local otherwise Envars.coqbin ()
will be wrong later.
* Avoid creation of an ad-hoc coq_config in myocamlbuild.ml
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12819 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'build')
| -rwxr-xr-x | build | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -15,12 +15,9 @@ ocb() { $OCAMLBUILD $FLAGS $*; } rule() { check_config case $1 in - win32) cp $CFG $CFG.initial && chmod 644 $CFG && \ - echo 'let arch = "win32"' >> $CFG && - ocb coq-win32.otarget - mv -f $CFG.initial $CFG;; clean) ocb -clean && rm -rf bin/* && rm -f $MYCFG;; all) ocb coq.otarget;; + win32) ocb coq-win32.otarget;; *) ocb $1;; esac; } |
