Dan Nicholson wrote: > Now that I think about this more, the pipe and redirect *without* -i > is much better. This way, you're always editing starting from the > default -dumpspecs instead of editing the existing file. Then you can > run the command as many times as you want. You don't have to worry > about what's in the $SPECFILE file since you're always going to > overwrite it. This can also be applied to CLFS where there's a big > warning about not re-running the specs adjustment command in Ch. 10.6 > (in the x86 book).
Look at the command again. We're already always overwriting it. Also, with gcc-4, the specs file doesn't exist unless you dump it there first. Technically, when piping it, I guess we don't need -i. But it doesn't seem to be hurting anything, either. -- JH -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page