g++ -save-temps mess

Bruno Wolff III bruno at wolff.to
Tue Feb 17 03:35:34 UTC 2009


On Mon, Feb 16, 2009 at 18:16:29 -0600,
  Michael Hennebry <hennebry at web.cs.ndsu.nodak.edu> wrote:
> I recently went from FC8 to FC9.
> Since then commands like g++ -save-temps main1.cc
> give me .s files with names like main1.tmp.localhost.localdomain.2918.s
> and don't give me any preprocessed source at all.
> What is going on?
> How do I fix it?
>
> I'm sure the messy .s file names are useful for people
> doing really interesting things with file organization.
> I am not.

Since I just went through this; make sure you aren't using ccache.
I needed to get a .ii file for a bug report I filed and just using
-save-temps only saved the .s files. Since it was easiest, I just removed
ccache, but there must be a way to turn it off without uninstalling it.




More information about the fedora-list mailing list