> 1) Make sure you get all gcc dependencies. Besides msvcrt it also
> depends on libgcc and maybe some other libraries. Its files also
> spread around (i.e. it's not just gcc.exe, there are files in
> libexec et cetera).
solved, I debugged the code and was my fault. The previous code did some
parameter checks, but managed two different error as was one. In
particular said empty parameter error if a parameter contained a single
The difference is that MSYS (GNU sh) remove the double single quote from
command line parameters, while CMD do not.
The executable exit showing a "strange" error when was the user that
surrounded the parameter with single quote. This does no difference on
MYS and Linux, but do on CMD.
Now I better checked command line parameters for supported chars, so
user can understand what is the problem.
Now that the exec work as I expect, I tested the binary deps, and I saw
the executable does not depend on nothing.
I set the PATH=. and run the executable, it work well, without any .dll
file besides, not even msvcrt.
By default Mingw compile all dependencies with static linking. This is
The executable is double size than Linux one, but work well.
> 2) If you've compiled it in MSYS-MSYS shell (`uname` says
> "MSYS_NT-...") instead of MINGW-MSYS shell (`uname` says
> "MINGW32_NT-..."), then you will never be able to run it outside of
> MSYS-MSYS shell.
in my installation (I used the GUI installer), uname say MINGW32_NT-*
What is MSYS-MSYS shell ?
anyway thank you for the porting work,