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: [PATCH 2/2] Add gcc-ar, gcc-ranlib, gcc-ld wrappers


On Friday 29 October 2010 12:46:57, Andi Kleen wrote:
> --- /dev/null
> +++ b/gcc/lto/gcc-ranlib.in
> @@ -0,0 +1,8 @@
> +#!/bin/sh
> +# wrapper for ranlib with GCC LTO support
> +prefix=@prefix@
> +exec_prefix=@exec_prefix@
> +GCC_BINDIR=${GCC_BINDIR:-@bindir@}
> +AR=${AR:-`$GCC_BINDIR/gcc -print-prog-name=ar`}
> +
> +exec $AR -s --plugin `$GCC_BINDIR/gcc -print-lto-plugin` "$@"

Is this meant to be used by gcc users, rather then when building gcc?
At the risk of sounding obvious, I'd like to point out that wrapper
shell scripts don't work on Windows hosts.

-- 
Pedro Alves


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