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

cem akpolat akpolatcem at gmail.com
Mon May 19 21:48:21 UTC 2014


> 
> Hi,
> 
> 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.
> 
> In advance, I appreciate for your helps.
> 
> 
> Bg,
> Cem



More information about the buildroot mailing list