public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Option for directory output of .o files
@ 2023-04-13 21:52 lostbits
  0 siblings, 0 replies; only message in thread
From: lostbits @ 2023-04-13 21:52 UTC (permalink / raw)
  To: gcc-help

There is an option to specify output of aux files to a directory 
(-dumpdir), is there a similar option for object output?

For example:

 > gcc --dumpdir dir -c foo.cpp   // works for aux files
 > gcc -o dir/foo.o  -c foo.cpp   // works for .o files
 > gcc -o dir        -c foo.cpp   // does not work

Is there anything like --dumpdir for object file output?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-13 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-13 21:52 Option for directory output of .o files lostbits

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).