View Issue Details

IDProjectCategoryView StatusLast Update
0000666Other Unix PortBugpublic2016-01-24 02:53
ReporterkomhAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0000666: CMake: use .o instead of .obj as an extension of object files
DescriptionHi/2.

It would be better to use .o than .obj for aout format.

Review, please...
TagsNo tags attached.

Activities

komh

2016-01-24 01:37

reporter  

0001-Set-the-extension-of-object-files-to-.o.patch (866 bytes)
From 4461243a891d75e411b6a6e409bdc55b673daa86 Mon Sep 17 00:00:00 2001
From: KO Myung-Hun <komh@chollian.net>
Date: Sat, 23 Jan 2016 19:50:23 +0900
Subject: [PATCH] Set the extension of object files to .o

    modified:   Modules/Platform/os2.cmake
---
 Modules/Platform/os2.cmake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Modules/Platform/os2.cmake b/Modules/Platform/os2.cmake
index 8869310..d4b44a7 100644
--- a/Modules/Platform/os2.cmake
+++ b/Modules/Platform/os2.cmake
@@ -17,6 +17,8 @@ SET(CMAKE_C_COMPILE_OPTIONS_PIE "")
 SET(CMAKE_CXX_COMPILE_OPTIONS_PIE "")
 SET(CMAKE_SHARED_LIBRARY_C_FLAGS " ")
 SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS " ")
+SET(CMAKE_C_OUTPUT_EXTENSION ".o")
+SET(CMAKE_CXX_OUTPUT_EXTENSION ".o")
 SET(CMAKE_EXECUTABLE_SUFFIX ".exe")          # .exe
 SET(CMAKE_C_LINK_FLAGS "-Zomf")
 SET(CMAKE_CXX_LINK_FLAGS "-Zomf")
-- 
2.7.0

gianfli

2016-01-24 02:53

reporter   ~0003102

Last edited: 2016-01-24 02:53

View 2 revisions

Right, read this only this morning, i'll try to follow your tracks much more, time permitting.,
Well done ;)!

Issue History

Date Modified Username Field Change
2016-01-24 01:37 komh New Issue
2016-01-24 01:37 komh File Added: 0001-Set-the-extension-of-object-files-to-.o.patch
2016-01-24 02:53 gianfli Note Added: 0003102
2016-01-24 02:53 gianfli Note Edited: 0003102 View Revisions