Would it be possible to make it version-dependent, then? As in, if GNU assembler is greater or equal to the version that supports @FILE, then pass @FILE to it, otherwise fall back to the current behavior. I assume most people nowadays would have a version of Binutils later than 2005, but if we could make it conditional on the version then even those with earlier version wouldn't break, they would just get the current behavior. On Mon, 27 Mar 2023 at 11:00, Xi Ruoyao wrote: > On Mon, 2023-03-27 at 10:36 +0100, Costas Argyris via Gcc-patches wrote: > > [ping^3] > > > > This looks like it fixes the bug and also unifies the way include paths > are > > passed from the driver to the compiler and assembler (when a @file has > > been passed to the driver in the first place). > > > > That is, when @file has been passed to the driver, put the include paths > > in a temp @file and pass them to the assembler. Note this is already > > happening for the compiler, so this patch merely extends this logic to > the > > assembler. > > > > Is there any reason not to go for it? > > It's not supported by all GNU assembler releases. For example, GCC > installation doc says we require Binutils >= 2.13.1 for i?86-*-linux*. > Binutils 2.13.1 was released in 2002, but @FILE support was added into > Binutils in 2005. > > > > > -- > Xi Ruoyao > School of Aerospace Science and Technology, Xidian University >