[svn] r6259: nemerle/trunk/configure

nazgul svnadmin at nemerle.org
Fri May 12 21:12:26 CEST 2006


Log:
Use - as command line option in some tools - fixes problems with MinGW

Author: nazgul
Date: Fri May 12 21:12:22 2006
New Revision: 6259

Modified:
   nemerle/trunk/configure

Modified: nemerle/trunk/configure
==============================================================================
--- nemerle/trunk/configure	(original)
+++ nemerle/trunk/configure	Fri May 12 21:12:22 2006
@@ -453,20 +453,20 @@
 # Check how to invoke .NET disassembler
 echo_check_for ".NET disassembler"
 
-try_execute "cygpath ${netSDK}ildasm.exe /?"
+try_execute "cygpath ${netSDK}ildasm.exe -?"
 if test "$?" != 127 -a "$?" != 126; then
     echo_result "ildasm"
-    dasm="\""`cygpath "${netSDK}ildasm.exe"`"\" /text"
+    dasm="\""`cygpath "${netSDK}ildasm.exe"`"\" -text"
 else
     try_execute "${monopath}monodis"
     if test "$?" != 127 -a "$?" != 126; then
 	echo_result "${monopath}monodis"
 	dasm="${monopath}monodis"
     else
-    	try_execute "${netSDK}ildasm.exe /text"
+    	try_execute "${netSDK}ildasm.exe -text"
     	if test "$?" != 127 -a "$?" != 126; then
 	    echo "ildasm [PATH]"
-	    dasm="ildasm.exe /text"
+	    dasm="ildasm.exe -text"
 	else
 	    echo_result "not found"
 	    echo "*** Please make sure that the .Net disassembler is ***"
@@ -583,17 +583,17 @@
     mono_gacutil=yes
   else
     echo_result no
-    gacutil_command="${netFRAMEWORK}gacutil.exe /f /i"
-    gacutil_uninstall_command="${netFRAMEWORK}gacutil.exe /f /u"
+    gacutil_command="${netFRAMEWORK}gacutil.exe -f -i"
+    gacutil_uninstall_command="${netFRAMEWORK}gacutil.exe -f -u"
     ngen_gac="true"
   fi
 else
   try_execute "cygpath ${netSDK}gacutil.exe"
   if test $? -lt 126; then
     echo_result found
-    dasm="\""`cygpath "${netSDK}ildasm.exe"`"\" /text"
-    gacutil_command="\""`cygpath "${netSDK}gacutil.exe"`"\" /f /i" 
-    gacutil_uninstall_command="\""`cygpath "${netSDK}gacutil.exe"`"\" /f /u" 
+    dasm="\""`cygpath "${netSDK}ildasm.exe"`"\" -text"
+    gacutil_command="\""`cygpath "${netSDK}gacutil.exe"`"\" -f -i" 
+    gacutil_uninstall_command="\""`cygpath "${netSDK}gacutil.exe"`"\" -f -u" 
     ngen_gac="true"
   else
     echo_result "not found"



More information about the svn mailing list