Can You Put Comments Into GCC Compiler Options Files?
Dave Korn
dave.korn.cygwin@gmail.com
Thu Feb 24 14:30:00 GMT 2011
On 24/02/2011 03:56, DJ Delorie wrote:
> The GNU "doschk" (in non-gnu/) utility can tell you what's legal and what isn't.
>
> http://www.delorie.com/gnu/dl/ftp.gnu.org/non-gnu/doschk/doschk-1.1.tar.gz/doschk-1.1/doschk.c
>
> Note, however, that @files used by gcc *in djgpp* will *not* support
> comments, because @files in djgpp are parsed and expanded by the djgpp
> runtime itself, not passed to gcc.
>
> So breaking compatibility with djgpp's implementation means that
> @files given to gcc will act differently on djgpp than on other
> systems.
Couldn't GCC (and binutils) on djgpp set _CRT0_FLAG_DISALLOW_RESPONSE_FILES
so that GCC's routines get used to expand the response files instead of the
runtime's routines?
cheers,
DaveK
More information about the Gcc
mailing list