[cmake-developers] [CMake 0012470]: CMAKE_C_COMPILER and CMAKE_CXX_COMPILER got stuck with bad values
Mantis Bug Tracker
mantis at public.kitware.com
Mon Sep 19 22:02:59 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12470
======================================================================
Reported By: Flávio J. Saraiva
Assigned To:
======================================================================
Project: CMake
Issue ID: 12470
Category: CMake
Reproducibility: have not tried
Severity: block
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-09-20 03:02 WEST
Last Modified: 2011-09-20 03:02 WEST
======================================================================
Summary: CMAKE_C_COMPILER and CMAKE_CXX_COMPILER got stuck
with bad values
Description:
While trying to fix some compilation problems, i tried to add
--enable-sjlj-exceptions to CMAKE_C_COMPILER and CMAKE_CXX_COMPILER. This
produced errors saying that the compiler was not found so i changed it back.
Somehow cmake got stuck with those values, which is preventing me from using
cmake. Deleting the cache doesn't work.
Additional Information:
Running cmake as console detects gcc and c++ properly, but running the generated
makefiles gives the error "/usr/bin/c++ --enable-sjlj-exceptions: not found".
Running the GUI and selecting 'Configure' detects gcc and c++, but populates the
cache with --enable-sjlj-exceptions.
Giving the correct CMAKE_C_COMPILER/CMAKE_CXX_COMPILER values as command line
arguments or cache entries before 'Configure' produces the same result.
>From where is it getting those values?
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-09-20 03:02 Flávio J. SaraivaNew Issue
======================================================================
More information about the cmake-developers
mailing list