This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can You Put Comments Into GCC Compiler Options Files?


Basile Starynkevitch <basile@starynkevitch.net> writes:

> On Tue, 22 Feb 2011 18:09:40 -0800
> Ian Lance Taylor <iant@google.com> wrote:
>> 
>> No comments are permitted in the contents of options files read using
>> the @file syntax.  The contents of the file are simply interpreted as
>> command line arguments separated by whitespace.  Double quotes, single
>> quotes, and backslashes may be used in the usual way to add whitespace
>> to arguments.
>
> Maybe we should change that. Do people find such a change useful for 4.7?
>
> If yes, with what comment lexical syntax? A leading # on a line?

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.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]