[cmake-developers] [CMake 0011680]: FIND_PROGRAM fails to locate a versioned compiler
Mantis Bug Tracker
mantis at public.kitware.com
Mon Jan 10 17:20:41 EST 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=11680
======================================================================
Reported By: Emmanuel Blot
Assigned To:
======================================================================
Project: CMake
Issue ID: 11680
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-01-10 17:20 EST
Last Modified: 2011-01-10 17:20 EST
======================================================================
Summary: FIND_PROGRAM fails to locate a versioned compiler
Description:
This is a Cygwin-only issue.
the FIND_PROGRAM works with the following cases:
FIND_PROGRAM (xcc arm-eabi-gcc) # evaluate to /usr/local/bin/arm-eabi-gcc.exe
FIND_PROGRAM (xcc arm-eabi-gcc-4.5.2.exe) # evaluate to
/usr/local/bin/arm-eabi-gcc-4.5.2.exe
but fails to find the executable with the following case:
FIND_PROGRAM (xcc arm-eabi-gcc-4.5.2) # xcc-NOTFOUND
The latter command works on any other hosts but Windows/Cygwin.
Additional Information:
It seems that CYGWIN variable is not set to 1 either:
MESSAGE (STATUS "CYGWIN: ${CYGWIN}")
prints out
-- CYGWIN:
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-01-10 17:20 Emmanuel Blot New Issue
======================================================================
More information about the cmake-developers
mailing list