View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012597 | CMake | CMake | public | 2011-11-29 06:04 | 2012-04-02 10:10 | ||||
Reporter | Hartmut Seichter | ||||||||
Assigned To | Brad King | ||||||||
Priority | high | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012597: Makefile and Xcode generators adds bogus/hardcoded LD_FLAG values to iOS project file | ||||||||
Description | Targeting iOS 5 from a Lion installation with Xcode 4.2.1 one cannot generate valid iOS project files. Both, the Xcode and Makefile generators are adding LD_FLAG values that do not correspond to the selected SDK and compiler (CLang). | ||||||||
Steps To Reproduce | Attached a minimal example. Setting up the build system either for Makefiles or Xcode does add " -Wl,-search_paths_first -Wl,-headerpad_max_install_names -arch armv6 -arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -miphoneos-version-min=4.0 " In Xcode that can be overridden by using the info panel of the project but any change in the project brings it back. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | Minimal_iOS.zip [^] (1,422 bytes) 2011-11-29 06:04 | ||||||||
Relationships | |
Relationships |
Notes | |
(0027868) Brad King (manager) 2011-11-29 08:31 |
In order to taget iOS you need to use a cross-compiling toolchain file: http://www.cmake.org/Wiki/CMake_Cross_Compiling [^] http://stackoverflow.com/questions/6476203/how-can-i-make-cmake-use-specific-compiler-and-flags-when-final-compilation-stag [^] |
(0029052) David Cole (manager) 2012-04-02 10:10 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-11-29 06:04 | Hartmut Seichter | New Issue | |
2011-11-29 06:04 | Hartmut Seichter | File Added: Minimal_iOS.zip | |
2011-11-29 08:31 | Brad King | Note Added: 0027868 | |
2011-11-29 08:31 | Brad King | Status | new => resolved |
2011-11-29 08:31 | Brad King | Resolution | open => no change required |
2011-11-29 08:31 | Brad King | Assigned To | => Brad King |
2012-04-02 10:10 | David Cole | Note Added: 0029052 | |
2012-04-02 10:10 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |