View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014881 | CMake | CMake | public | 2014-04-15 10:48 | 2014-10-06 10:33 | ||||
Reporter | raspy | ||||||||
Assigned To | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | duplicate | ||||||
Platform | x86_64 | OS | RedHat Enterprise Linux | OS Version | 6.4 | ||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014881: Older versions of TI compilers do not support --output_file | ||||||||
Description | I have a project which is tied to some old compiler of TMS470 4.1.4. This version still does not support --output_file nor -fe switch. Regular way to go was to use -fr switch. In order to support also older versions of TI compilers (which also is valid for new ones), replace in TI-C.cmake: set(CMAKE_C_COMPILE_OBJECT "<CMAKE_C_COMPILER> --compile_only --c_file=<SOURCE> <DEFINES> <FLAGS> --output_file=<OBJECT>") With: set(CMAKE_C_COMPILE_OBJECT "<CMAKE_C_COMPILER> --compile_only --c_file=<SOURCE> <DEFINES> <FLAGS> --obj_directory=<OBJECT_DIR>") set(CMAKE_C_OUTPUT_EXTENSION_REPLACE 1) Even better, --obj_directory should be replaced with -fr option (see 0014879). Keep in mind though, that <OBJECT_DIR> changed semantics recently, so it is needed to update the issue together with 0014876. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0036978) Robert Maynard (manager) 2014-10-06 10:33 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-04-15 10:48 | raspy | New Issue | |
2014-04-15 10:55 | Brad King | Relationship added | related to 0014876 |
2014-04-15 10:56 | Brad King | Status | new => resolved |
2014-04-15 10:56 | Brad King | Resolution | open => duplicate |
2014-10-06 10:33 | Robert Maynard | Note Added: 0036978 | |
2014-10-06 10:33 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |