22 нояб. 2013 г., в 15:44, Patrick von Reth <vonr...@kde.org> написал(а):

> Hi could you please add a readme explaining the differences between the 
> *_shell.bat’s and what's been set by them, so what's the difference to 
> calling “set HOMER=%USERPROFILE% && bash -i --login” which other effects have 
> the *_shell.bat’s besides setting home and calling mintty?
> 
Each *_shell.bat set it’s own value for MSYSTEM variable. Then when you start 
bash, it read /etc/profile where I substitute PATH variable based on MSYSTEM 
variable.

mingw32_shell.bat:
PATH=/mingw32/bin:$MSYS_PATH:$PATH

mingw64_shell.bat:
PATH=/mingw64/bin:$MSYS_PATH:$PATH

msys2_shell.bat:
PATH=$MSYS_PATH:/opt/bin:$PATH

I do it because my mingw toolchains from repository installing with pacman to 
/mingw32 and /mingw64 directory. When I need to work with 64-bit mingw compiler 
I start mingw64_shell.bat, if 32-bit - start mingw32_shell.bat and when I need 
to use msys-gcc I start msys2_shell.bat.


Regards,
Alexey.

> Cheers
> 
> Patrick
> ------------------------------------------------------------------------------
> Shape the Mobile Experience: Free Subscription
> Software experts and developers: Be at the forefront of tech innovation.
> Intel(R) Software Adrenaline delivers strategic insight and game-changing 
> conversations that shape the rapidly evolving mobile landscape. Sign up now. 
> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk_______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to