Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: Khem Raj <raj.khem@gmail.com>,
	"openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Subject: Re: [PATCH 5/5] meson.bbclass: Use the correct C++ compiler when cross compiling
Date: Sat, 11 Mar 2017 05:24:57 +0000	[thread overview]
Message-ID: <ed10e97de7ba4d4b8de2c3f7feaba5ab@XBOX02.axis.com> (raw)
In-Reply-To: <b2dff51f-a954-d214-f612-e53f506f9233@gmail.com>

> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Khem Raj
> Sent: den 11 mars 2017 06:12
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [PATCH 5/5] meson.bbclass: Use the correct C++
> compiler when cross compiling
> 
> On 3/10/17 8:58 PM, Peter Kjellerstedt wrote:
> > ---
> >  meta-oe/classes/meson.bbclass | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta-oe/classes/meson.bbclass b/meta-
> oe/classes/meson.bbclass
> > index e3489dd12..e27ed3906 100644
> > --- a/meta-oe/classes/meson.bbclass
> > +++ b/meta-oe/classes/meson.bbclass
> > @@ -52,7 +52,7 @@ do_write_config() {
> >      cat >${WORKDIR}/meson.cross <<EOF
> >  [binaries]
> >  c = '${HOST_PREFIX}gcc'
> > -cpp = '${HOST_PREFIX}gcc'
> > +cpp = '${HOST_PREFIX}g++'
> 
> is cpp c preprocssor or c++ compiler ? generally cxx is used for c++
> compiler

I agree, it is confusing, but in Meson it is actually the C++ compiler.

> >  ar = '${HOST_PREFIX}ar'
> >  ld = '${HOST_PREFIX}ld'
> >  strip = '${HOST_PREFIX}strip'
> >

//Peter



      reply	other threads:[~2017-03-11  5:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-11  4:58 [PATCH 1/5] meson: Update to 0.37.1 Peter Kjellerstedt
2017-03-11  4:58 ` [PATCH 2/5] meson.bbclass: Add support for more standard installation directories Peter Kjellerstedt
2017-03-11  4:58 ` [PATCH 3/5] meson.bbclass: Make changes to meson.build files trigger reconfiguration Peter Kjellerstedt
2017-03-11  4:58 ` [PATCH 4/5] meson.bbclass: Support building for native Peter Kjellerstedt
2017-03-11  4:58 ` [PATCH 5/5] meson.bbclass: Use the correct C++ compiler when cross compiling Peter Kjellerstedt
2017-03-11  5:11   ` Khem Raj
2017-03-11  5:24     ` Peter Kjellerstedt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ed10e97de7ba4d4b8de2c3f7feaba5ab@XBOX02.axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox