News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

cc: default output file name

Started by ivmai, June 19, 2009, 02:57:00 PM

Previous topic - Next topic

ivmai


Typically (for other compilers) if I compile folder/file.c then I get file.o file (not folder/file.o).
May be, it's just a feature of this compiler.

Romashka

If I understood you correctly - you should change Output directory when creating the project to the same directory where your source files are.

ivmai

My report about "cc" program (not about IDE and projects).

AlexN

Quote from: ivmai on June 20, 2009, 09:18:00 AM
My report about "cc" program (not about IDE and projects).

And there you have the options /Fe and /Fo to change the name of the output file.
best regards
Alex ;)

ivmai

Every compiler has something like /Fe or /Fo. I mean that typically if a compiler is invoked w/o such an option it would produce file.o (not folder/file.o).

Has somebody says it's a feature of this compiler?

PS. Sometimes it's impossible to use /Fe or /Fo (eg., when multiple input file names or wildcards are specified).