MinGW and sh.exe

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

MinGW and sh.exe

Jörg Kreuzberger
Hi!

i get an error at cmake configure step on windows with -G "MinGW Makefiles", if the OpenSSH bin folder is in the PATH environment cause cmake detects sh.exe and then throws an error. This seems to be intended due to this link
http://www.cmake.org/Wiki/CMake_MinGW_Compiler_Issues
But if i now configure a second time, everything is fine and the generated MinGW Makefiles are generated properly and could be build normaly with mingw32-make wihtout any msys or sh environment.

So is the first cmake error an error? The link ist quite old (2006)

Thanks for any help.
Joerg

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
Reply | Threaded
Open this post in threaded view
|

Re: MinGW and sh.exe

J Decker
I was searching for 'cmake disable check sh.exe' which is not a problem (anymore?) 

If I do 
cmake -G "MinGW Makefiles" /some/path 
it complains; then the same command again succeeds; so it's not a problem... it only causes a stutter in startup; which is a problem; and the project builds and installs just fine. (it doesn't do find required system libraries to pull in the libgcc-sjlj-something-threads library and potentially others on 'findrequiredsystemlibraries?'  but that's a side issue.


sh.exe comes with git.exe  there's just no two ways about it.

and not in MSYS; just an installed mingw64 from sourceforge and cmake


On Wed, Jun 17, 2015 at 1:25 AM, Jörg Kreuzberger <[hidden email]> wrote:
Hi!

i get an error at cmake configure step on windows with -G "MinGW Makefiles", if the OpenSSH bin folder is in the PATH environment cause cmake detects sh.exe and then throws an error. This seems to be intended due to this link
http://www.cmake.org/Wiki/CMake_MinGW_Compiler_Issues
But if i now configure a second time, everything is fine and the generated MinGW Makefiles are generated properly and could be build normaly with mingw32-make wihtout any msys or sh environment.

So is the first cmake error an error? The link ist quite old (2006)

Thanks for any help.
Joerg

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake