You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2013/02/14 18:22:00 UTC
[lucy-commits] git commit: refs/heads/c-bindings-cfc - Add some 'echo' statements to
configure.bat
Updated Branches:
refs/heads/c-bindings-cfc 8c5b06252 -> c19657114
Add some 'echo' statements to configure.bat
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/c1965711
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/c1965711
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/c1965711
Branch: refs/heads/c-bindings-cfc
Commit: c19657114ef4dfc0d905100028399e9df7c0300f
Parents: 8c5b062
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Thu Feb 14 18:18:10 2013 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Thu Feb 14 18:18:10 2013 +0100
----------------------------------------------------------------------
clownfish/compiler/c/configure.bat | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/c1965711/clownfish/compiler/c/configure.bat
----------------------------------------------------------------------
diff --git a/clownfish/compiler/c/configure.bat b/clownfish/compiler/c/configure.bat
index 25d2749..11f3953 100644
--- a/clownfish/compiler/c/configure.bat
+++ b/clownfish/compiler/c/configure.bat
@@ -25,11 +25,19 @@ echo No C compiler found
exit /b 1
:found_cl
+echo Using C compiler 'cl'
+echo cl /nologo ..\common\charmonizer.c
cl /nologo ..\common\charmonizer.c
+if errorlevel 1 exit /b 1
+echo Running charmonizer
charmonizer.exe --cc=cl --enable-c --enable-makefile %*
exit /b
:found_gcc
+echo Using C compiler 'gcc'
+echo gcc ..\common\charmonizer.c -o charmonizer.exe
gcc ..\common\charmonizer.c -o charmonizer.exe
+if errorlevel 1 exit /b 1
+echo Running charmonizer
charmonizer.exe --cc=gcc --enable-c --enable-makefile %*
exit /b