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 <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University