From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15742 invoked by alias); 24 Feb 2009 19:08:10 -0000 Received: (qmail 15651 invoked by alias); 24 Feb 2009 19:08:00 -0000 Date: Tue, 24 Feb 2009 19:08:00 -0000 Message-ID: <20090224190800.15650.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug driver/39293] -save-temps does not follow the -o option and instead puts the temp file in the current directory In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "joseph at codesourcery dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-02/txt/msg02121.txt.bz2 ------- 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