User forums > General (but related to Code::Blocks)

exe extension on Ubuntu

(1/3) > >>

ordak:
Hi,

I want all my C projects to automatically have .exe extension rather than without any extension. I am using Ubuntu OS with Clang as compiler. What can I do?

Jenna:
Use windows !

BlueHazzard:

--- Quote from: ordak on August 10, 2017, 11:44:21 am ---I want all my C projects to automatically have .exe extension rather than without any extension. I am using Ubuntu OS with Clang as compiler. What can I do?

--- End quote ---

Can i ask why? And can i ask what do you expect to get from this?

ordak:

--- Quote from: BlueHazzard on August 10, 2017, 04:36:00 pm ---
--- Quote from: ordak on August 10, 2017, 11:44:21 am ---I want all my C projects to automatically have .exe extension rather than without any extension. I am using Ubuntu OS with Clang as compiler. What can I do?

--- End quote ---

Can i ask why? And can i ask what do you expect to get from this?

--- End quote ---

A history of Microsoft DOS then Windows user. I want to recognize a file type by it's extension. I wanted to get a project_name.exe file. By the way Clang, according to it's documentation has the following command lines:



--- Code: ----o<file>, --output <arg>, --output=<arg>

Write output to <file>
--- End code ---

BlueHazzard:
Project->Properties->Build target select the right target on the left->Output filename

i am not 100% convinced that this is working... I think codeblocks does the naming something automatically, but i can not tell for sure...

Navigation

[0] Message Index

[#] Next page

Go to full version