News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

I don't want to create .o file when I compile C file, what should I do?

Started by SSatint, March 21, 2018, 06:42:24 AM

Previous topic - Next topic

SSatint

I am a rookie and a beginner. I don't want the program to create the .o flie ,how to set?
Thank you very much!!!!!!!!!!!!!!!!!!
I need your help.

sodev

Uninstall CodeBlocks, this will solve all your problems easily.

If you want to take a more painful path, google what the c programming language is, especially what a compiler is and does, and then rethink about your whish to not turn .c files into .o files.

oBFusCATed

@sodev:
Strange aggression...  :-\
GCC is perfectly capable to produce the final executable without going to .o files.
We don't do it, but this doesn't mean it can't be done.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

BlueHazzard


oBFusCATed

Probably because he/she has multiple simple test applications in a single folder and doesn't like the .o files cluttering the output.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]