On Jul 25 2020, Fāng-ruì Sòng wrote: > On Sat, Jul 25, 2020 at 12:09 AM Andreas Schwab <sch...@linux-m68k.org> wrote: >> >> On Jul 24 2020, Fangrui Song via Gcc-patches wrote: >> >> > This is to mimick nearly lines. collect2 should filter out options like >> > -fno-lto, -flto, -fuse-ld= before passing to ld. -f* are handled by case >> > 'f'. --ld-path needs its own `else if`. >> >> If you handle --ld-path as -fld-path then you don't need that. >> > > --ld-path is a deliberate design choice. -f* is not suitable > (https://sourceware.org/pipermail/gcc/2020-July/233089.html )
I don't agree with that opinion. --foo and -ffoo are equivalent and interchangeable. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."