MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0011679 | CMake | Modules | public | 2011-01-10 17:14 | 2011-01-26 15:27 |
Reporter | Emmanuel Blot | ||||
Assigned To | Alex Neundorf | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Apple | OS | Mac OS X | OS Version | 10.6.6 |
Product Version | CMake 2.8.3 | ||||
Target Version | Fixed in Version | ||||
Summary | 0011679: CMAKE_FORCE_C_COMPILER fails to parse compiler name that contains a version number | ||||
Description | Using the following commands: FIND_PROGRAM (xcc arm-eabi-gcc) CMAKE_FORCE_C_COMPILER (${xcc} GNU) works as expected. RANLIB and AR commands are mapped to the same target, namely: arm-eabi-ranlib and arm-eabi-ar However, when a version is specified: FIND_PROGRAM (xcc arm-eabi-gcc-4.5.2) CMAKE_FORCE_C_COMPILER (${xcc} GNU) RANLIB and AR commands are left to the default, host tools (which lead to later compilation errors) In this latter case, the _CMAKE_TOOLCHAIN_PREFIX is left empty. It seems that the compiler string parser is in trouble. | ||||
Steps To Reproduce | |||||
Additional Information | The issue occurs whatever the platform (at least tested on Cygwin and Mac OS X), and it seems it may also occur with CMAKE_C_COMPILER. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-01-10 17:14 | Emmanuel Blot | New Issue | |||
2011-01-17 17:03 | David Cole | Assigned To | => Alex Neundorf | ||
2011-01-17 17:03 | David Cole | Status | new => assigned | ||
2011-01-26 12:25 | Alex Neundorf | Note Added: 0025093 | |||
2011-01-26 15:27 | Alex Neundorf | Note Added: 0025097 | |||
2011-01-26 15:27 | Alex Neundorf | Status | assigned => closed | ||
2011-01-26 15:27 | Alex Neundorf | Resolution | open => fixed | ||
2011-01-26 15:27 | Alex Neundorf | Category | CMake => Modules |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|