This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Document use of CC and CFLAGS in more detail (bug 20980, bug 21234)
On Fri, 16 Feb 2018, Rical Jasan wrote:
> On 02/01/2018 12:37 PM, Joseph Myers wrote:
> ...
> > diff --git a/manual/install.texi b/manual/install.texi
> > index efcd986..5cf8e16 100644
> > --- a/manual/install.texi
> > +++ b/manual/install.texi
> > @@ -59,10 +59,17 @@ but the normal setting to install as the standard system library is
> > @samp{--prefix=/usr} for @gnulinuxsystems{} and @samp{--prefix=} (an
> > empty prefix) for @gnuhurdsystems{}.
> >
> > -It may also be useful to set the @var{CC} and @var{CFLAGS} variables in
> > -the environment when running @code{configure}. @var{CC} selects the C
> > -compiler that will be used, and @var{CFLAGS} sets optimization options
> > -for the compiler.
> > +It may also be useful to pass @samp{CC=@var{compiler}} and
>
> Is this a rogue @samp here, or was that intentional (everywhere else is
> @code)?
It's intentional, in that it matches (for example) the
@samp{--prefix=/usr} quoted above.
--
Joseph S. Myers
joseph@codesourcery.com