This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/39293] -save-temps does not follow the -o option and instead puts the temp file in the current directory
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Feb 2009 19:08:00 -0000
- Subject: [Bug driver/39293] -save-temps does not follow the -o option and instead puts the temp file in the current directory
- References: <bug-39293-17357@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from joseph at codesourcery dot com 2009-02-24 19:07 -------
Subject: Re: New: -save-temps does not follow the -o
option and instead puts the temp file in the current directory
I've also found this to be a pain when working on glibc, where compilation
commands are run from subdirectories of the source directory so using
-save-temps causes the temporary files to be put in the source directory,
after which the glibc build system can end up using them for future builds
in preference to the actual source files.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39293