LigH
5th October 2016, 10:21
To compile x265 with different GNU C/C++ compiler versions, I have placed separate installations of MSYS/MinGW based on the full archives provided by XhmikosR. The installation for GCC 6.2.0 contains an update archive provided by El Heggunte.
The MSYS/MinGW installation for GCC 5.3.0 is located in H:\MSYS-GCC530
The MSYS/MinGW installation for GCC 6.2.0 is located in H:\MSYS-GCC620
I am really really sure that I used to open both shells (each with "msys.bat --mintty") and could run shell script driven updates and compilations separately in their respective home directories.
Today I updated TortoiseHG and CMake.
Suddenly, both shells share the same mount point. Which, depends on which of them was started first.
H:\MSYS-GCC530\msys.bat --mintty
H:\MSYS-GCC620\msys.bat --mintty
According to ProcessExplorer, ...
"H:\MSYS-GCC530\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC530" and executed "H:\MSYS-GCC530\bin\bash.exe" in "H:\MSYS-GCC530\home\user"
"H:\MSYS-GCC620\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC620" and executed "H:\MSYS-GCC530\bin\bash.exe" in "H:\MSYS-GCC530\home\user"
Both report:
$ mount
H:\MSYS-GCC530 on /usr type user (binmode,noumount)
H:\MSYS-GCC530 on / type user (binmode,noumount)
...
Opposite order:
H:\MSYS-GCC620\msys.bat --mintty
H:\MSYS-GCC530\msys.bat --mintty
According to ProcessExplorer, ...
"H:\MSYS-GCC620\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC620" and executed "H:\MSYS-GCC620\bin\bash.exe" in "H:\MSYS-GCC620\home\user"
"H:\MSYS-GCC530\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC530" and executed "H:\MSYS-GCC620\bin\bash.exe" in "H:\MSYS-GCC620\home\user"
Both report:
$ mount
H:\MSYS-GCC620 on /usr type user (binmode,noumount)
H:\MSYS-GCC620 on / type user (binmode,noumount)
...
Is it possible to separate their environments again, as it used to be until today? I would like to see:
"H:\MSYS-GCC530\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC530" and executed "H:\MSYS-GCC530\bin\bash.exe" in "H:\MSYS-GCC530\home\user"
"H:\MSYS-GCC620\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC620" and executed "H:\MSYS-GCC620\bin\bash.exe" in "H:\MSYS-GCC620\home\user"
If not, I would have to quit the shell where I compiled with GCC 5.3.0 before I open the shell to compile with GCC 6.2.0; this reduces the efficiency from today on.
I can not even imagine a reason why it happened so suddenly.
The MSYS/MinGW installation for GCC 5.3.0 is located in H:\MSYS-GCC530
The MSYS/MinGW installation for GCC 6.2.0 is located in H:\MSYS-GCC620
I am really really sure that I used to open both shells (each with "msys.bat --mintty") and could run shell script driven updates and compilations separately in their respective home directories.
Today I updated TortoiseHG and CMake.
Suddenly, both shells share the same mount point. Which, depends on which of them was started first.
H:\MSYS-GCC530\msys.bat --mintty
H:\MSYS-GCC620\msys.bat --mintty
According to ProcessExplorer, ...
"H:\MSYS-GCC530\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC530" and executed "H:\MSYS-GCC530\bin\bash.exe" in "H:\MSYS-GCC530\home\user"
"H:\MSYS-GCC620\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC620" and executed "H:\MSYS-GCC530\bin\bash.exe" in "H:\MSYS-GCC530\home\user"
Both report:
$ mount
H:\MSYS-GCC530 on /usr type user (binmode,noumount)
H:\MSYS-GCC530 on / type user (binmode,noumount)
...
Opposite order:
H:\MSYS-GCC620\msys.bat --mintty
H:\MSYS-GCC530\msys.bat --mintty
According to ProcessExplorer, ...
"H:\MSYS-GCC620\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC620" and executed "H:\MSYS-GCC620\bin\bash.exe" in "H:\MSYS-GCC620\home\user"
"H:\MSYS-GCC530\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC530" and executed "H:\MSYS-GCC620\bin\bash.exe" in "H:\MSYS-GCC620\home\user"
Both report:
$ mount
H:\MSYS-GCC620 on /usr type user (binmode,noumount)
H:\MSYS-GCC620 on / type user (binmode,noumount)
...
Is it possible to separate their environments again, as it used to be until today? I would like to see:
"H:\MSYS-GCC530\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC530" and executed "H:\MSYS-GCC530\bin\bash.exe" in "H:\MSYS-GCC530\home\user"
"H:\MSYS-GCC620\\bin\mintty /bin/bash -l" runs in "H:\MSYS-GCC620" and executed "H:\MSYS-GCC620\bin\bash.exe" in "H:\MSYS-GCC620\home\user"
If not, I would have to quit the shell where I compiled with GCC 5.3.0 before I open the shell to compile with GCC 6.2.0; this reduces the efficiency from today on.
I can not even imagine a reason why it happened so suddenly.