All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] Custom package using buildroot-linux-uclibc-g++
Date: Mon, 12 Feb 2018 16:53:19 +0100	[thread overview]
Message-ID: <20180212165319.2d80d5e3@windsurf.lan> (raw)
In-Reply-To: <1518432443635-0.post@n4.nabble.com>

Hello,

On Mon, 12 Feb 2018 03:47:23 -0700 (MST), AAlex_ wrote:

> i created a custom package like the libfoo example.
> Using $(eval $(generic-package))
> The makefile extracts objects from archive and should link them to a so.
> Buildroot is using x86_64-buildroot-linux-uclibc-gcc but this doesnt work
> (source is c++). 
> How can i define that the x86_64-buildroot-linux-uclibc-g++ (which is
> availalble in host/bin) is used instead of the
> x86_64-buildroot-linux-uclibc-gcc for this package?

Use TARGET_CXX instead of TARGET_CC. But without seeing your actual
package .mk file it is hard to say. Could you post your .mk file ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com

  reply	other threads:[~2018-02-12 15:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-12 10:47 [Buildroot] Custom package using buildroot-linux-uclibc-g++ AAlex_
2018-02-12 15:53 ` Thomas Petazzoni [this message]
     [not found] <08c05d6899a793abe8e5b0bb14d84033@email.freenet.de>
2018-02-13 15:51 ` Thomas Petazzoni
2018-02-13 19:29   ` AAlex_

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=20180212165319.2d80d5e3@windsurf.lan \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.