View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007819 | CMake | CMake | public | 2008-10-16 02:58 | 2009-01-29 12:17 | ||||
Reporter | Federico Carminati | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | not fixable | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0007819: Xcode generation breaks when specifying CC environmental variable | ||||||||
Description | It happens when invoking CMake on Mac OS X 10.5.5 (2.6 GHz Intel Core 2 Duo). CC=gcc cmake . -G "Unix Makefiles" works, while CC=gcc cmake . -G Xcode fails with the attached log, while CC=/usr/bin/gcc cmake -G [Xcode | "Unix Makefiles"] works in both cases. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | cmake.log [^] (7,673 bytes) 2008-10-16 02:58 | ||||||||
Relationships | |
Relationships |
Notes | |
(0014712) Bill Hoffman (manager) 2009-01-29 12:17 |
This is not a CMake issue. If you have a perfectly good Xcode project, and you run xcodebuild with CC=gcc, it fails with the same error: gcc -x c -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -DCMAKE_INTDIR=\"Debug\" -Dtestc2_EXPORTS -fmessage-length=0 -mmacosx-version-min=10.4 -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/kitware/Dashboards/My\ Tests/CMake/Tests/COnly/b/Debug -I/Users/kitware/Dashboards/My\ Tests/CMake/Tests/COnly/b/Debug/include -I/Users/kitware/Dashboards/My\ Tests/CMake/Tests/COnly/b/COnly.build/Debug/libtestc2.dylib.build/DerivedSources -fPIC -c /Users/kitware/Dashboards/My\ Tests/CMake/Tests/COnly/libc2.c -o /Users/kitware/Dashboards/My\ Tests/CMake/Tests/COnly/b/COnly.build/Debug/libtestc2.dylib.build/Objects-normal/i386/libc2.o error: couldn't exec gcc: No such file or directory |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-10-16 02:58 | Federico Carminati | New Issue | |
2008-10-16 02:58 | Federico Carminati | File Added: cmake.log | |
2009-01-29 12:17 | Bill Hoffman | Note Added: 0014712 | |
2009-01-29 12:17 | Bill Hoffman | Status | new => closed |
2009-01-29 12:17 | Bill Hoffman | Resolution | open => not fixable |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |