This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] src-release.sh: use --target
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: "binutils at sourceware dot org Development" <binutils at sourceware dot org>
- Date: Tue, 14 Oct 2014 05:12:24 -0700
- Subject: Re: [PATCH] src-release.sh: use --target
- Authentication-results: sourceware.org; auth=none
- References: <69046B5F-46F6-43D5-A29E-371C2A41E451 at adacore dot com>
> this one-line change is to execute src-release.sh on platforms
> different from i386-pc-linux-gnu (otherwise I get compilation
> error while compiling trad-core.c which is native only).
>
> Ok for trunk ?
> (I plan to backport it to the 2.25 branch).
> Tested while building the 2.25 branch.
>
> Tristan.
>
> 2014-10-14 Tristan Gingold <gingold@adacore.com>
>
> * src-release.sh (do_proto_toplev): Configure with --target.
FWIW, no objection from me. I'm actually wondering why we are
specifying the host/target in the first place, but that's not
very important.
> --- src-release.sh
> +++ src-release.sh
> @@ -83,7 +83,7 @@ do_proto_toplev()
> <Makefile.in >tmp
> mv -f tmp Makefile.in
> #
> - ./configure i686-pc-linux-gnu
> + ./configure --target=i386-pc-linux-gnu
> $MAKE configure-host configure-target \
> ALL_GCC="" ALL_GCC_C="" ALL_GCC_CXX="" \
> CC_FOR_TARGET="$CC" CXX_FOR_TARGET="$CXX"
--
Joel