This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: $RANLIB not passed to libiberty
- From: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 29 Sep 2007 14:53:03 +0200
- Subject: Re: $RANLIB not passed to libiberty
- References: <20070926162145.GQ25795@sygehus.dk> <46FB6B2A.5030900@gnu.org>
On Thu, Sep 27, 2007 at 10:34:50AM +0200, Paolo Bonzini wrote:
>
> Can you try this patch? RANLIB_FOR_BUILD was defined nowhere, hence it
> was passed as empty to configure and detected (incorrectly) to be
> "ranlib" instead of "owranlib".
> Index: configure.ac
> ===================================================================
> --- configure.ac (revision 127728)
> +++ configure.ac (working copy)
> @@ -1047,9 +1047,31 @@ if test -z "${CC}" && test "${build}" =
> fi
>
> if test "${build}" != "${host}" ; then
> + AR_FOR_BUILD=${AR_FOR_BUILD-ar}
> + AS_FOR_BUILD=${AS_FOR_BUILD-as}
> CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
$ rm configure; ~/bin/autoconf && rm -rf autom4te.cache
configure.ac:1053: error: possibly undefined macro: AS_FOR_BUILD
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
> + WINDRES_FOR_BUILD=${WINDRES_FOR_BUILD-windres
> + WINDMC_FOR_BUILD=${WINDMC_FOR_BUILD-windmc
Missing closing braces. If fix that and remove the lines mentioning
AS_FOR_BUILD, it does fix the problem.
--
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year