RFA/RFC: Enable both gold and ld in a single toolchain

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Fri Apr 9 18:52:00 GMT 2010
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



More information about the Binutils mailing list