Re: CFLAGS for the host in canadian cross build

2017-11-07 Thread Max Filippov
Hi Waldemar, On Tue, Nov 7, 2017 at 9:57 PM, Waldemar Brodkorb wrote: >> I'm trying to build a canadian cross compiler with build == x86_64-linux, >> host == xtensa-linux and target == xtensa-linux. I need to specify an >> xtensa-specific flag in CFLAGS that will be applied to the host binary. >

Re: CFLAGS for the host in canadian cross build

2017-11-07 Thread Waldemar Brodkorb
Hi Max, Max Filippov wrote, > Hello, > > I'm trying to build a canadian cross compiler with build == x86_64-linux, > host == xtensa-linux and target == xtensa-linux. I need to specify an > xtensa-specific flag in CFLAGS that will be applied to the host binary. I think you are trying to build a c

Re: CFLAGS for the host in canadian cross build

2017-11-06 Thread Matias Fonzo
On Mon, 6 Nov 2017 11:51:34 -0800 Max Filippov wrote: > On Mon, Nov 6, 2017 at 10:38 AM, Matias Fonzo > wrote: > > On Mon, 6 Nov 2017 10:30:14 -0800 > > Max Filippov wrote: > [..] > >> > >> If CFLAGS/CXXFLAGS is the right place for the option, how can the > >> build tell whether it's intended f

Re: CFLAGS for the host in canadian cross build

2017-11-06 Thread Max Filippov
On Mon, Nov 6, 2017 at 10:38 AM, Matias Fonzo wrote: > On Mon, 6 Nov 2017 10:30:14 -0800 > Max Filippov wrote: > >> Hello, >> >> I'm trying to build a canadian cross compiler with build == >> x86_64-linux, host == xtensa-linux and target == xtensa-linux. I need >> to specify an xtensa-specific fl

Re: CFLAGS for the host in canadian cross build

2017-11-06 Thread Matias Fonzo
On Mon, 6 Nov 2017 10:30:14 -0800 Max Filippov wrote: > Hello, > > I'm trying to build a canadian cross compiler with build == > x86_64-linux, host == xtensa-linux and target == xtensa-linux. I need > to specify an xtensa-specific flag in CFLAGS that will be applied to > the host binary. > > I