This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Document use of CC and CFLAGS in more detail (bug 20980, bug 21234)


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]