This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] src-release.sh: use --target


> 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


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