delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/10/08:31:09

Date: Wed, 10 May 2000 18:21:17 +0600 (LKT)
From: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
X-Sender: root AT roadrunner DOT grendel DOT net
To: djgpp AT delorie DOT com
cc: Alexandre DOT Devaure AT leroy-autom DOT com
Subject: Re: temp files
In-Reply-To: <eH9S4.85$%V7.288805@nnrp3.proxad.net>
Message-ID: <Pine.LNX.4.10.10005101819180.2440-100000@roadrunner.grendel.net>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 10 May 2000, Alexandre Devaure wrote:

> Hi,
> I'd like gcc don't erase the temp files produced during the different
> compilation stage. Is it possible ? I didn't see any options to do that.

The -save-temps option is probably what you want...just do a "info gcc"
and search for save-temps to find out more about it...
Heres the discription,


`-save-temps'
     Store the usual "temporary" intermediate files permanently; place
     them in the current directory and name them based on the source
     file.  Thus, compiling `foo.c' with `-c -save-temps' would produce
     files `foo.i' and `foo.s', as well as `foo.o'.


Grendel

Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019