public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Can You Put Comments Into GCC Compiler Options Files?
@ 2011-02-22 19:57 Craig Dedo
  2011-02-23  9:56 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Craig Dedo @ 2011-02-22 19:57 UTC (permalink / raw)
  To: GCC Fortran, GCC General, GCC Help; +Cc: Craig Dedo

GNU Compiler Collection
Free Software Foundation
51 Franklin Street, Suite 500
Boston, MA   02110-1335

Everyone:
            I would like to start using the GNU Compiler Collection (GCC), particularly
GFortran.  Given the number of compiler and linker options that there are, it makes a lot
of sense to put the commonly used compiler options into an options file.

            I read the description of the @file options file on page 28 of the manual,
Using the GNU Compiler Collection 4.6.0.  However, I could not find any information on
whether comments are allowed in options files and, if so, how comments are designated so
that the compiler does not attempt to treat them as compiler or linker options.

            Please let me know whether or not programmers can put comments into compiler
options files.  If so, please let me know how to designate comments.

            I am looking forward to hearing from you soon.

Sincerely,
Craig T. Dedo
17130 W. Burleigh Place
P. O. Box 423                         Mobile Phone:  (414) 412-5869
Brookfield, WI   53008-0423    E-mail:  <craig@ctdedo.com>
USA
Linked-In:  http://www.linkedin.com/in/craigdedo




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can You Put Comments Into GCC Compiler Options Files?
  2011-02-22 19:57 Can You Put Comments Into GCC Compiler Options Files? Craig Dedo
@ 2011-02-23  9:56 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2011-02-23  9:56 UTC (permalink / raw)
  To: Craig Dedo; +Cc: GCC Fortran, GCC General, GCC Help

"Craig Dedo" <craig@ctdedo.com> writes:

>             I would like to start using the GNU Compiler Collection (GCC), particularly
> GFortran.  Given the number of compiler and linker options that there are, it makes a lot
> of sense to put the commonly used compiler options into an options file.
>
>             I read the description of the @file options file on page 28 of the manual,
> Using the GNU Compiler Collection 4.6.0.  However, I could not find any information on
> whether comments are allowed in options files and, if so, how comments are designated so
> that the compiler does not attempt to treat them as compiler or linker options.
>
>             Please let me know whether or not programmers can put comments into compiler
> options files.  If so, please let me know how to designate comments.

This question is not appropriate for the mailing lists gcc@gcc.gnu.org
or fortran@gcc.gnu.org.  Please take any followups only to
gcc-help@gcc.gnu.org.  In the future, please avoid cross-posting to both
gcc@gcc.gnu.org and gcc-help@gcc.gnu.org.  Thanks.

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.

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-23  2:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-22 19:57 Can You Put Comments Into GCC Compiler Options Files? Craig Dedo
2011-02-23  9:56 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).