[Buildroot] Fwd: Fwd: how to assign cpp and c++ in buildroot?

Thomas De Schampheleire patrickdepinguin at gmail.com
Tue May 20 14:25:15 UTC 2014


Hi Cem,

On Tue, May 20, 2014 at 3:29 PM, cem akpolat <akpolatcem at gmail.com> wrote:
> Hi Thomas,
>
> the line starting wirh @@@@
>
>
> akpolat at akpolatX240:~/mysvn/buildroot$ make
> package/Makefile.in:211: @@@@@@@ TARGET_CPP
> value='/home/akpolat/mysvn/buildroot/output/host/usr/bin/i586-buildroot-linux-uclibc-cpp'
> origin='file'

Well this looks normal too. I'm puzzled about the cause of your original error.

>
>
> You may have to install 'g++' on your build machine

This message gives the explanation for the host-m4 error: you do not
have g++ on your machine.
The config.log file says:

configure:5351: checking how to run the C preprocessor
configure:5421: result: cpp
configure:5441: cpp
-I/home/akpolat/mysvn/buildroot/output/host/usr/include conftest.c
./configure: line 2631: cpp: command not found
configure:5441: $? = 127

So the host toolchain is not present, and this is needed to build the
target toolchain.

However, in a previous run it seemed you already had the target
toolchain, so I wonder how you achieved this.

Best regards,
Thomas



More information about the buildroot mailing list