User forums > Help

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

(1/1)

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.

BlueHazzard:
The question is why do you want to do that?

oBFusCATed:
Probably because he/she has multiple simple test applications in a single folder and doesn't like the .o files cluttering the output.

Navigation

[0] Message Index

Go to full version