Hi, I am having the strange setup that i have Visual Studio installed in the default Path but want to use MinGW, this produced errors in kdeenv.bat like "Microsoft was unexpected at this time". Which is apparently a Problem with Quotations because %PATH% is not equal to "%PATH%". When I looked what was done in the msvc part of kdeenv..bat i noticed that instead of % ! is used to mark environment variables.
So i applied that to the mingw parts and everything worked fine, my problem is I have no idea what the exclamation mark means and i don't want to commit anything I do not understand. So attached is the Patch for kdeenv.bat to use ! for Path but I did not find any good documentation on the difference, so please tell me if it is ok to commit that change. Greetings Andre -- Andre Heinecke | ++49-541-335083-262 | http://www.intevation.de/ Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
Index: kdeenv.bat
===================================================================
--- kdeenv.bat (Revision 1146376)
+++ kdeenv.bat (Arbeitskopie)
@@ -63,19 +63,19 @@
set SUBDIR=\%EMERGE_BUILDTYPE%
)
-set PATH=%KDEROOT%%SUBDIR%\bin;%PATH%
+set PATH=%KDEROOT%%SUBDIR%\bin;!PATH!
set KDEDIRS=%KDEROOT%%SUBDIR%
set QT_PLUGIN_PATH=%KDEROOT%%SUBDIR%\plugins;%KDEROOT%%SUBDIR%\lib\kde4\plugins
set XDG_DATA_DIRS=%KDEROOT%%SUBDIR%\share
rem for emerge
-set PATH=%KDEROOT%\emerge\bin;%PATH%
+set PATH=%KDEROOT%\emerge\bin;!PATH!
rem for dev-utils
-set PATH=%KDEROOT%\dev-utils\bin;%PATH%
+set PATH=%KDEROOT%\dev-utils\bin;!PATH!
rem for old packages
-set PATH=%KDEROOT%\bin;%PATH%
+set PATH=%KDEROOT%\bin;!PATH!
if %KDECOMPILER% == mingw (
call :path-mingw
@@ -96,14 +96,14 @@
:path-mingw
if %EMERGE_ARCHITECTURE% == x64 (
- set PATH=%KDEROOT%\mingw64\bin;%PATH%
+ set PATH=%KDEROOT%\mingw64\bin;!PATH!
goto :eof
)
if %EMERGE_ARCHITECTURE% == arm-wince (
- set PATH=%KDEROOT%\cegcc-arm-wince\arm-mingw32ce\bin;%KDEROOT%\cegcc-arm-wince\libexec\gcc\arm-mingw32ce\4.4.0;%PATH%
+ set PATH=%KDEROOT%\cegcc-arm-wince\arm-mingw32ce\bin;%KDEROOT%\cegcc-arm-wince\libexec\gcc\arm-mingw32ce\4.4.0;!PATH!
goto :eof
)
- set PATH=%KDEROOT%\mingw\bin;%PATH%
+ set PATH=%KDEROOT%\mingw\bin;!PATH!
goto :eof
:path-msvc
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Kde-windows mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-windows
