Hi,
I will grant you that putting too much stuff in c:\ might confuse the system,
but I actually didn't mean to imply that I had lots of executables there J
I put msys2 into q:\msys64 (q: is an external harddrive). So my path looks like:
. ;q:\msys64;q:\msys64\usr\bin;q:\msys64\mingw64\bin
I rebooted my system, and tried opening a command prompt, and then:
C:\ ls
The command took over a minute to run.
I then tried:
C:\> q:\msys64\usr\bin\ls
The response was almost immediate.
The same kind of thing happens if I type:
C:\ mingw64 (to open a mingw64 shell) took about a minute to open.
But if I give the full path to mingw64.exe it is much faster.
--
Thank you, Donald
HYPERLINK "http://www.oracle.com/" \nOracle
Donald Raikes | Accessibility Specialist / QA Security Point of Contact
Phone: HYPERLINK "tel:+15205744033"+15205744033
Oracle Application Development Framework
STREET | , Arizona ZIPCODE
HYPERLINK "http://www.oracle.com/commitment" \nGreen Oracle
Oracle is committed to developing practices and products that help protect the
environment
From: Computer Jock [mailto:computerj...@mail.com]
Sent: Wednesday, June 21, 2017 11:54 AM
To: msys2-users@lists.sourceforge.net
Subject: Re: [Msys2-users] running mingw64 tools outside of a mingw64 shell
On 6/21/2017 1:18 PM, Don Raikes wrote:
I am a complete Linux console geek, nad would like my windows system to work as
closely to Linux as possible so in the past, I installed cygwin and added it to
my windows path.
Then I could simly run:
C:\ls
And get a directory listing.
If I install msys2 and the mingw64 toolchain, I have discovered if I include
the q:\msys2\bin and q:\msys2\mingw64\bin directories in my path, if I try to
run:
C:\ls
While it works it takes 30+ seconds to run whereas the cygwin equivalent is
virtually instaneous. Running gdb also takes a significantly longer time to
startup.
Why would you fill your root directory C:/ with executables?
I use win7x64. I've got MSYS2 and GnuWin32 both installed. I also have my
custom programs in C:/Bin.
I also set my PATH on windows:
PATH= ... ;C:\Bin;D:\msys64\usr\bin;D:\GnuWin32\bin
I can do "ls" from cmd.exe, tcc.exe, mintty or conemu. It is almost
instantaneous for me.
Maybe putting stuff into C:\ gets windows confused?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users