This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is C++ supported ????


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: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]