Don't run specs adjustment in place (perl -i)

Jeremy Utley jerutley at
Sun Jan 29 20:20:29 PST 2006

On 1/29/06, Dan Nicholson <dbn.lists at> wrote:
> On 1/29/06, Dan Nicholson <dbn.lists at> wrote:
> > However, by dropping the -i in the perl command, you will always start
> > with the clean, default specs from gcc -dumpspecs.  Then the command
> > can be repeated, and the big warning box dropped:
> Sorry for the noise.  I missed the redirect at the end of the command.
>  It's always overwriting the spec file.  However, the -i in the perl
> command should probably be dropped since there isn't a file being
> supplied.  Either way, you can drop the warning box because you can
> run the command repeatedly.

The warning is a legacy from the old days when running that command
multiple times would really screw with things (because there was a
specs file already in place, we were just modifying it).  Now that GCC
4 doesn't install one, it is indeed not necessary.



More information about the cross-lfs mailing list