Code::Blocks Forums

User forums => Help => Topic started by: SSatint on March 21, 2018, 06:42:24 am

Title: I don't want to create .o file when I compile C file, what should I do?
Post by: SSatint on March 21, 2018, 06:42:24 am
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.
Title: Re: I don't want to create .o file when I compile C file, what should I do?
Post by: sodev on March 21, 2018, 05:12:22 pm
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.
Title: Re: I don't want to create .o file when I compile C file, what should I do?
Post by: oBFusCATed on March 21, 2018, 07:14:45 pm
@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.
Title: Re: I don't want to create .o file when I compile C file, what should I do?
Post by: BlueHazzard on March 21, 2018, 07:59:46 pm
The question is why do you want to do that?
Title: Re: I don't want to create .o file when I compile C file, what should I do?
Post by: oBFusCATed on March 21, 2018, 09:41:59 pm
Probably because he/she has multiple simple test applications in a single folder and doesn't like the .o files cluttering the output.