[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH for-4.8] stubdom: make GMP aware that it's being cross-compiled



Wei Liu writes ("Re: [Xen-devel] [PATCH for-4.8] stubdom: make GMP aware that 
it's being cross-compiled"):
> On Mon, Oct 31, 2016 at 02:57:54AM -0600, Jan Beulich wrote:
> > >>> On 29.10.16 at 19:22, <wei.liu2@xxxxxxxxxx> wrote:
> > > Append --build and --host flags to GMP's configure script so that it
> > > knows it is being compiled for another architecture.
> > 
> > Why --host and --build? Aiui,
> > - host is where the configure runs,
> > - build is where tool chain components being built are supposed to run,
> > - target is where the final binaries are intended to run.
> 
> I think you got them wrong, in particular host and build semantics.
> 
> build is where the build runs, host is where the resulting binary runs,
> target is where the output of the resulting binary runs (assuming the
> binary is compiler).
> 
> https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Specifying-Target-Triplets.html
> 
> Since GMP is not a compiler, target is not relevant here.

This very unfortunate terminology has, sadly, become the de facto
standard.  It is very confusing, but Wei has it right.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.