Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

Commit

Permalink
msys: support for Windows XP x64
Browse files Browse the repository at this point in the history
msys needs to be started in 32 bit (WOW 64) mode.

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
  • Loading branch information
sprohaska authored and dscho committed Aug 17, 2007
1 parent 6a64070 commit d8179d1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions msys.bat
Expand Up @@ -12,6 +12,11 @@ rem ember to set the "Start in:" field of the shortcut.
rem A value similar to C:\msys\1.0\bin is what the "Start in:" field needs
rem to represent.

rem this should let run MSYS shell on x64
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
SET COMSPEC=%WINDIR%\SysWOW64\cmd.exe
)

rem ember value of GOTO: is used to know recursion has happened.
if "%1" == "GOTO:" goto %2

Expand Down Expand Up @@ -76,11 +81,11 @@ if "%MSYSTEM%" == "MSYS" set FGCOLOR=%MSYSFGCOLOR%
if "%MSYSTEM%" == "MINGW32" set BGCOLOR=%MINGW32BGCOLOR%
if "%MSYSTEM%" == "MINGW32" set FGCOLOR=%MINGW32FGCOLOR%

start %BIN%rxvt -backspacekey -sl 2500 -fg %FGCOLOR% -bg %BGCOLOR% -sr -fn Courier-12 -tn msys -geometry 80x25 -e /bin/bash --login -i
start %COMSPEC% /c %BIN%rxvt -backspacekey -sl 2500 -fg %FGCOLOR% -bg %BGCOLOR% -sr -fn Courier-12 -tn msys -geometry 80x25 -e /bin/bash --login -i
exit

:startbash
call %BIN%bash --login -i
call %COMSPEC% /c %BIN%bash --login -i

:EOF

Expand Down

0 comments on commit d8179d1

Please sign in to comment.