On Mon, Jan 10, 2011 at 3:43 PM, Emmanuel Blot wrote: > Hello All, > > I've just bumped into an issue with Cygwin. > > I have not compiled with CMake and Cygwin for a while, so I'm not sure > where the problem comes from (Cygwin, CMake, or the combination of > both). > > The following command used to work on all platforms (Linux, Mac OS X, Cygwin): > FIND_PROGRAM (xcc arm-eabi-gcc) > but now, with Cygwin, the command fails to locate the executable which > is in the path indeed. > > IF I had the Windows executable suffix (.exe), it works: > FIND_PROGRAM (xcc arm-eabi-gcc.exe) > Obviously, the "fix" is not portable and will break on any non-Windows > platform. > > Some questions: > > 1/ Is this a known issue / new regression? > I have not been subscribed to the ML for a while, and I can't find a > decent way to search through the ML archives, > http://www.cmake.org/pipermail/cmake/ does not offer a search
use gmane for the search http://news.gmane.org/gmane.comp.programming.tools.cmake.user > function. Sorry if the question has already been answered (let me know > if it is) > 2/ What is the best way to circumvent this issue? > 3/ Am I missing something obvious? > > Note: "CMAKE_EXECUTABLE_SUFFIX" is defined to the empty string on > CMake 2.8.2/Cygwin, which seems wrong as well. > > Cheers, > Manu in the past Yaakov proposed several changes for cygwin and SET(CMAKE_EXECUTABLE_SUFFIX ".exe") is present in its proposal. http://public.kitware.com/Bug/view.php?id=10122 I presume next 2.8.4 will cover it Marco _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
