public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Joel Sherrill <joel@OARcorp.com>" <joel.sherrill@OARcorp.com>
To: Geoffrey Keating <geoffk@geoffk.org>
Cc: "Joseph S. Myers" <joseph@codesourcery.com>,
	 Geoffrey Keating <gkeating@apple.com>,
	gcc@gcc.gnu.org
Subject: Re: move specs documentation to internals manual?
Date: Sat, 09 Jul 2005 00:32:00 -0000	[thread overview]
Message-ID: <42CF1AE8.4010307@OARcorp.com> (raw)
In-Reply-To: <m21x68khaq.fsf_-_@geoffk.org>

Geoffrey Keating wrote:
> "Joseph S. Myers" <joseph@codesourcery.com> writes:
> 
> 
>>On Fri, 7 Jul 2005, Ian Lance Taylor wrote:
>>
>>
>>>gkeating@apple.com (Geoffrey Keating) writes:
>>>
>>>
>>>>	* gcc.c: Include xregex.h.
>>>>	(version_compare_spec_function): New.
>>>>	(spec_function): Add version-compare.
>>>>	(replace_outfile_spec_function): Reformat comment.
>>>>	(compare_version_strings): New.
>>>
>>>I think version-compare should be documented in the specs file section
>>>of invoke.texi.
>>
>>I think having this documentation in invoke.texi is a mistake - specs are 
>>internals rather than something for users to use.  The documentation 
>>should either be in the internals manual or be in comments in gcc.c, not 
>>both and not the user manual.
> 
> 
> I agree with both comments here: it's lame that we have duplicated
> documentation (and explains why I didn't realise that I had to change
> two places), and I don't think that we should be considering specs to
> be an user-level interface to GCC.
> 
> So, what do people think about (a) deleting the big comment in gcc.c
> that tries to explain specs (leaving a pointer to the manual), and (b)
> moving the specs documentation to the internals manual?

I think it is definitely appropriate to fix gcc.c to point to any
manual.

Which manual is another question.  RTEMS uses the specs to specify
board specific linking issues so to us, it is at least something the
user is aware of even if there is only one per board generated which
applies to all code linked for that board.  So it is more a user level
feature to us than a gcc internal one.

It should only be documented in one place though.

--joel


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985

      parent reply	other threads:[~2005-07-09  0:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050708054604.67D4A15D66FE@geoffk5.apple.com>
     [not found] ` <m3vf3lvld8.fsf@gossamer.airs.com>
     [not found]   ` <Pine.LNX.4.61.0507081217260.14395@digraph.polyomino.org.uk>
2005-07-08 23:29     ` Geoffrey Keating
2005-07-09  0:23       ` Daniel Jacobowitz
2005-07-09  0:32         ` Joseph S. Myers
2005-07-09  0:32       ` Joel Sherrill <joel@OARcorp.com> [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42CF1AE8.4010307@OARcorp.com \
    --to=joel.sherrill@oarcorp.com \
    --cc=gcc@gcc.gnu.org \
    --cc=geoffk@geoffk.org \
    --cc=gkeating@apple.com \
    --cc=joseph@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).