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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon May 19 22:09:20 UTC 2014


Dear cem akpolat,

On Mon, 19 May 2014 23:48:21 +0200, cem akpolat wrote:

> > Since many days I have been trying to compile build root, however,  I encounter nearly each time the sanity check failure due to the misinterpretation of cpp. cpp is pretended as c++, however this is of course not true. When I compile through make command, I see also in the make parameters that cpp 
> > refers to g++ under /host/usr/bin/…. There is clearly something wrong. I wanted to compile only the related packet, bridge-utils, under output/built/bridge-utils by providing the accurate CPP path, there is no problem while configuring and compiling the file. Briefly, how can I say the accurate path of CPP to build root such as make CPP=/path/to/file.
> > 
> > One remark, the name of the packet isn’t significant here, since I saw a lot of different packets which gave the same “sanity check” error.

Could you post: the Buildroot version you're using, the
Buildroot .config file you're using, and the last ~200 lines of the
build output showing the error you're seeing?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list