This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC output to a directory
- From: "Eddie Diener" <eddielee at tropicsoft dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 1 Apr 2004 20:50:57 -0500
- Subject: GCC output to a directory
- Reply-to: "Eddie Diener" <eddielee_no_spam_confusion_remove_ at tropicsoft dot com>
Did I miss it in the GCC or is there really no way to specify that the
output go to a specific directory ? I can see where one can direct the
output to a specific name, via the -o option, which allows one to specify a
full path specification, but I don't see where one can just specify the
output directory without having to specify the full output name. The latter
would be useful in scripts and batch files where separating a filename from
the full path specification is not that easy, while providing an output
directory and letting GCC automatically put the appropriately named output
files there is a good deal simpler.