This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: RFA/RFC: Enable both gold and ld in a single toolchain


Hello H.J.,

a very minor nit:

* H.J. Lu wrote on Fri, Apr 09, 2010 at 07:45:11PM CEST:
> --- a/configure
> +++ b/configure
> @@ -1483,7 +1483,7 @@ Optional Features:

> -  --enable-gold           use gold instead of ld
> +  --enable-gold[=ARG]     build gold [ARG={both}[[/{gold,ld}]]]

> --- a/configure.ac
> +++ b/configure.ac

>  AC_ARG_ENABLE(gold,
> -[  --enable-gold           use gold instead of ld],
> +[  --enable-gold[[=ARG]]     build gold [[ARG={both}[[/{gold,ld}]]]]],

For a consistent quoting style that expands to the desired number of
brackets, use either outer double quoting

+[[  --enable-gold[=ARG]     build gold [ARG={both}[/{gold,ld}]]]],

(note: within double-quoted text no macros will be expanded),
or use quadrigraphs @<:@ and @:>@ which will always expand to one
literal bracket.

> --- a/gold/configure.ac
> +++ b/gold/configure.ac
> @@ -38,6 +38,24 @@ AC_DEFINE_UNQUOTED(TARGET_SYSTEM_ROOT, "$sysroot",

> +AC_ARG_ENABLE(gold,
> +[  --enable-gold[[=ARG]]     build gold [[ARG={both}[[/{gold,ld}]]]]],

Likewise here.

Cheers,
Ralf


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