RE: [PATCH 1/2] config: Use G++ as C++ compiler

2022-06-22 Thread Morten Brørup
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com] > Sent: Wednesday, 22 June 2022 18.06 > > On Wed, Jun 22, 2022 at 07:07:12AM +0200, Stanisław Kardach wrote: > > On Tue, Jun 21, 2022 at 9:53 PM Tyler Retzlaff > > wrote: > > > > > > > -cpp = ['ccache', 'arm-linux-gnueabihf-cpp'] > > >

Re: [PATCH 1/2] config: Use G++ as C++ compiler

2022-06-22 Thread Tyler Retzlaff
On Wed, Jun 22, 2022 at 07:07:12AM +0200, Stanisław Kardach wrote: > On Tue, Jun 21, 2022 at 9:53 PM Tyler Retzlaff > wrote: > > > > > -cpp = ['ccache', 'arm-linux-gnueabihf-cpp'] > > > +cpp = ['ccache', 'arm-linux-gnueabihf-g++'] > > > > suggest the variable should be 'cxx' not 'cpp' (to be cons

Re: [PATCH 1/2] config: Use G++ as C++ compiler

2022-06-21 Thread Stanisław Kardach
On Tue, Jun 21, 2022 at 9:53 PM Tyler Retzlaff wrote: > > > -cpp = ['ccache', 'arm-linux-gnueabihf-cpp'] > > +cpp = ['ccache', 'arm-linux-gnueabihf-g++'] > > suggest the variable should be 'cxx' not 'cpp' (to be consistent with > other build systems in the linux world) The variable name is mandat

Re: [PATCH 1/2] config: Use G++ as C++ compiler

2022-06-21 Thread Tyler Retzlaff
On Tue, Jun 21, 2022 at 02:28:23PM +0200, Stanislaw Kardach wrote: > Through some mixup all cross-files for PowerPC and ARM platforms were > using C Preprocessor (cpp) instead of GCC (g++). > This caused meson to fail detecting the C++ compiler presence and > therefore disabling some targets (i.e.

Re: [PATCH 1/2] config: Use G++ as C++ compiler

2022-06-21 Thread Bruce Richardson
On Tue, Jun 21, 2022 at 02:28:23PM +0200, Stanislaw Kardach wrote: > Through some mixup all cross-files for PowerPC and ARM platforms were > using C Preprocessor (cpp) instead of GCC (g++). > This caused meson to fail detecting the C++ compiler presence and > therefore disabling some targets (i.e.