public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Niels Penneman <niels@penneman.org>
To: Mau Z <zmau1962@gmail.com>, crossgcc@sourceware.org
Subject: Re: Is C++ supported ????
Date: Mon, 30 Dec 2013 17:08:00 -0000	[thread overview]
Message-ID: <52C1A8BB.8000604@penneman.org> (raw)
In-Reply-To: <CAPFcPT+mzCnw6ULWPEM00xQ4dtS-8n1UOYnat43Owfif_9zY2g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1463 bytes --]

Hi,

I don't know much about buildroot, but I gave your two configuration
files a quick look.

From your crosstool-ng configuration file, I saw you have not changed
the default installation path for the generated toolchain:

CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
CT_INSTALL_DIR="${CT_PREFIX_DIR}"

These two settings mean the toolchain will be installed in your home
directory: /home/zm02/x-tools/i686-zm-linux-gnu

In buildroot, however, you have not configured this correctly. Instead
you seem to have pointed buildroot to an intermediary toolchain used to
build your final toolchain by crosstool-ng:

BR2_TOOLCHAIN_EXTERNAL_PATH="/home/zm02/development/crosstoo-ng/crosstool-ng-1.18.0/toolChain/.build/i686-zm-linux-gnu/buildtools"

You should use the final toolchain.


On 12/30/2013 05:53 PM, Mau Z wrote:
> Hi!
>
> I had built crosstool-ng
> Then I went to buildroot and tried to build an image.
>
> *Here is the result:*
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> make[1]: Leaving directory
> `/home/User_1/development/buildroot/buildroot-2013.05'
>>>>   Checking external toolchain settings
> C++ support is selected but is not available in external toolchain
> make: ***
> [/home/User_1/development/buildroot/buildroot-2013.05/output/stamps/ext-toolchain-checked]
> Error 1
>
>
> I am attaching
> 1) crosstool-ng .config file
> 2) buildroot .config file
>
> Any advise ?
>
>
> Thanks
> Mau



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

  reply	other threads:[~2013-12-30 17:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-30 16:53 Mau Z
2013-12-30 17:08 ` Niels Penneman [this message]
2013-12-30 17:19   ` Mau Z
2013-12-30 17:25     ` Niels Penneman
2013-12-30 17:41       ` Mau Z
2013-12-30 17:34     ` Mau Z
2013-12-30 18:30       ` Niels Penneman
2013-12-30 19:20         ` Mau Z
2013-12-30 20:05           ` Niels Penneman
2013-12-30 21:39             ` Mau Z

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=52C1A8BB.8000604@penneman.org \
    --to=niels@penneman.org \
    --cc=crossgcc@sourceware.org \
    --cc=zmau1962@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).