The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13619 
====================================================================== 
Reported By:                Michael Bachmann
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13619
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2012-10-30 13:15 EDT
Last Modified:              2012-10-30 13:15 EDT
====================================================================== 
Summary:                    cmake 2.8.10-rc3: gcc which is placed in PATH is not
used but the system compiler
Description: 
e.g.: gcc 4.5.2 executable is situated under:
/opt/gcc-4.5.2/bin/gcc

gcc 3.4.6 executable is situated under:
/usr/bin/gcc

the PATH environment variable is set as follows:
export PATH=/opt/gcc-4.5.2/bin:/usr/bin:$PATH

=> executing "which gcc" prints "/opt/gcc-4.5.2/bin/gcc"


Steps to Reproduce: 
Using cmake (2.8.10-rc3) gcc 3.4.6 is configured when executing:
cmake ../mysrc

Using cmake-gui (2.8.10-rc3) gcc 4.5.2 is configured when executing:
cmake-gui ../mysrc


In previous releases cmake and cmake-gui used both gcc 4.5.2 during
configuration (the gcc executable which is found first via the PATH variable)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-30 13:15 Michael BachmannNew Issue                                    
======================================================================

--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to