Hi

During the toolchain adjustments, LFS does stuff like this:

  gcc --print-file specs

IMHO the usage is bogus because:

  1) `--print-file' is undocumented (therefore could break anytime)

  2) `--print-file' only works by pure good fortune. Don't believe me? Try
     this with a GCC-3.4.x:

      `gcc --print-f specs'

The documented switch is:

  -print-file-name=

However, the docs say it is only for "library", but it appears to work for
any file or dir within GCC's private dir eg: specs, startfiles, Other
toolchain components (eg: Glibc, Binutils) rely on `-print-file-name=' for
exactly those purposes. Therefore, using it like this is fine.

Regards
Greg
--
http://www.diy-linux.org/
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to