Re: Controlling output directories and output extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Edward Diener <eldlistmailingz@xxxxxxxxxxxxxx> writes:

> It does seem laborious to limit compilation to multiple steps and a
> single output for each step just so I can put output files where I
> want them and with the names which I want them to have. But if that is
> the way gcc was designed, that is the way I will use it.

Note that you can also write

gcc -o execdir/foo foo.c

in which case no object file will be created (or, rather, it will be
created and then deleted).  The multiple steps are only necessary if you
do in fact want the object files.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux