Re: [Xen-devel] [PATCH 01/12] xen: clang: Support correctly cross-compile

2019-04-24 Thread Julien Grall
Hi, On 4/19/19 7:47 PM, Stefano Stabellini wrote: On Fri, 29 Mar 2019, Jan Beulich wrote: On 29.03.19 at 10:41, wrote: On 28/03/2019 09:55, Jan Beulich wrote: On 27.03.19 at 19:45, wrote: Clang uses "-target" option for cross-compilation. --- a/config/StdGNU.mk +++ b/config/StdGNU.mk @@

Re: [Xen-devel] [PATCH 01/12] xen: clang: Support correctly cross-compile

2019-04-19 Thread Stefano Stabellini
On Fri, 29 Mar 2019, Jan Beulich wrote: > >>> On 29.03.19 at 10:41, wrote: > > On 28/03/2019 09:55, Jan Beulich wrote: > > On 27.03.19 at 19:45, wrote: > >>> Clang uses "-target" option for cross-compilation. > >> > >>> --- a/config/StdGNU.mk > >>> +++ b/config/StdGNU.mk > >>> @@ -1,8 +1,13

Re: [Xen-devel] [PATCH 01/12] xen: clang: Support correctly cross-compile

2019-03-29 Thread Jan Beulich
>>> On 29.03.19 at 10:41, wrote: > On 28/03/2019 09:55, Jan Beulich wrote: > On 27.03.19 at 19:45, wrote: >>> Clang uses "-target" option for cross-compilation. >> >>> --- a/config/StdGNU.mk >>> +++ b/config/StdGNU.mk >>> @@ -1,8 +1,13 @@ >>> AS = $(CROSS_COMPILE)as >>> LD

Re: [Xen-devel] [PATCH 01/12] xen: clang: Support correctly cross-compile

2019-03-29 Thread Julien Grall
Hi, On 28/03/2019 10:56, Jan Beulich wrote: On 28.03.19 at 11:43, wrote: On 28/03/2019 10:28, Jan Beulich wrote: On 28.03.19 at 11:14, wrote: Using -target is from the Clang instructions on cross compilation, which say to do it this way. https://clang.llvm.org/docs/CrossCompilation.html T

Re: [Xen-devel] [PATCH 01/12] xen: clang: Support correctly cross-compile

2019-03-29 Thread Julien Grall
Hi, On 28/03/2019 09:55, Jan Beulich wrote: On 27.03.19 at 19:45, wrote: Clang uses "-target" option for cross-compilation. --- a/config/StdGNU.mk +++ b/config/StdGNU.mk @@ -1,8 +1,13 @@ AS = $(CROSS_COMPILE)as LD = $(CROSS_COMPILE)ld ifeq ($(clang),y) -CC = $(

Re: [Xen-devel] [PATCH 01/12] xen: clang: Support correctly cross-compile

2019-03-28 Thread Jan Beulich
>>> On 28.03.19 at 11:43, wrote: > On 28/03/2019 10:28, Jan Beulich wrote: > On 28.03.19 at 11:14, wrote: >>> Using -target is from the Clang instructions on cross compilation, which >>> say to do it this way. https://clang.llvm.org/docs/CrossCompilation.html >>> >>> The targets supported w

Re: [Xen-devel] [PATCH 01/12] xen: clang: Support correctly cross-compile

2019-03-28 Thread Andrew Cooper
On 28/03/2019 10:28, Jan Beulich wrote: On 28.03.19 at 11:14, wrote: >> On 28/03/2019 09:55, Jan Beulich wrote: >> On 27.03.19 at 19:45, wrote: Clang uses "-target" option for cross-compilation. >>> And all possible targets are always available? I'd like to point out >>> that CROSS_

Re: [Xen-devel] [PATCH 01/12] xen: clang: Support correctly cross-compile

2019-03-28 Thread Jan Beulich
>>> On 28.03.19 at 11:14, wrote: > On 28/03/2019 09:55, Jan Beulich wrote: > On 27.03.19 at 19:45, wrote: >>> Clang uses "-target" option for cross-compilation. >> And all possible targets are always available? I'd like to point out >> that CROSS_COMPILE can be used for other than actual cros

Re: [Xen-devel] [PATCH 01/12] xen: clang: Support correctly cross-compile

2019-03-28 Thread Andrew Cooper
On 28/03/2019 09:55, Jan Beulich wrote: On 27.03.19 at 19:45, wrote: >> Clang uses "-target" option for cross-compilation. > And all possible targets are always available? I'd like to point out > that CROSS_COMPILE can be used for other than actual cross > compilation, e.g. building with just

Re: [Xen-devel] [PATCH 01/12] xen: clang: Support correctly cross-compile

2019-03-28 Thread Jan Beulich
>>> On 27.03.19 at 19:45, wrote: > Clang uses "-target" option for cross-compilation. And all possible targets are always available? I'd like to point out that CROSS_COMPILE can be used for other than actual cross compilation, e.g. building with just an alternative tool chain built for the same t