View Issue Details

IDProjectCategoryView StatusLast Update
0000666Other Unix PortBugpublic2022-05-14 07:11
Reporterkomh Assigned Topsmedley  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
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.
Attached Files
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

Activities

gianfli

2016-01-23 16:23

reporter   ~0003102

Last edited: 2016-01-23 16:23

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

psmedley

2022-05-14 07:11

administrator   ~0004286

I no longer maintain cmake

Issue History

Date Modified Username Field Change
2016-01-23 15:07 komh New Issue
2016-01-23 15:07 komh File Added: 0001-Set-the-extension-of-object-files-to-.o.patch
2016-01-23 16:23 gianfli Note Added: 0003102
2016-01-23 16:23 gianfli Note Edited: 0003102
2022-05-14 07:11 psmedley Assigned To => psmedley
2022-05-14 07:11 psmedley Status new => resolved
2022-05-14 07:11 psmedley Resolution open => won't fix
2022-05-14 07:11 psmedley Note Added: 0004286
2022-05-14 07:11 psmedley Status resolved => closed