Can You Put Comments Into GCC Compiler Options Files?
DJ Delorie
dj@redhat.com
Wed Feb 23 21:47:00 GMT 2011
Ian Lance Taylor <iant@google.com> writes:
> I believe lThese option files were adapted from Windows, and they are
> primarily for use on Windows, which has much stricter limits on command
> line length than most Unix systems. We should implement whatever
> Windows implements.
IIRC they were adapted from DJGPP, which got them from Borland C.
Neither of these allowed comments, because who knows what a "comment" is
for every single program out there?
Historically, @files were generated by the Makefile just before they
were used. There was never a need to add documentation inside them.
More information about the Gcc
mailing list