This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: version bounds for Darwin
"Joseph S. Myers" <joseph@codesourcery.com> 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.
For what it's worth, I agree. But until and unless one of these
options is taken, I think having existing but incomplete documentation
is the worst of all possible worlds.
Ian