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)
- From: DJ Delorie <dj at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 06 Feb 2018 20:23:34 -0500
- Subject: Re: Document use of CC and CFLAGS in more detail (bug 20980, bug 21234)
- Authentication-results: sourceware.org; auth=none
Joseph Myers <joseph@codesourcery.com> writes:
> + It may also be useful to pass 'CC=COMPILER' and 'CFLAGS=FLAGS'
> +arguments to 'configure'. 'CC' selects the C compiler that will be
The first example of how to do this is 270 lines later...
I suspect people familiar with GNU configure might assume you meant
$ CC=... configure
and not
$ configure CC=...
> -this: 'CC=TARGET-gcc configure TARGET'. Set 'BUILD_CC' to the compiler
> +this: 'configure TARGET CC=TARGET-gcc'. Set 'BUILD_CC' to the compiler
Unrelated, but "configure" is never right, nor is "./configure"... why
do these examples not include a valid ../src/configure or something?