<html><body><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; color: #000000"><div>Hi,</div><div><br></div><div>I successfully have created myself a basic kernel image and rootfs using buildoot (2014.08).  Im using the codesourcery arm-xilinx-linux toolchain (2013.05) as an external toochain.</div><div><br></div><div>I'm trying to add a C++ (autotools-generated) project but this fails to compile with message "cc1plus: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]".</div><div>The project compiles perfectly when manually configured for the toochain (hence not using buildroot).</div><div><span style="font-size: 10pt;"><br></span></div><div><span style="font-size: 10pt;">After some debugging I found that the C++ headers have not copied from the external toolchain into the buildroot's output/host folder.  The libs  are there - very strangly.</span></div><div><br></div><div>As a test I made a make clean, configured buildroot to use and download the codesourcery toolchain 2013.05m but still the same issue.</div><div><br></div><div>What I'm doing wrong here ??</div><div><br></div><div>buildroot .confg and the projects .mk included.</div><div><br></div><div>Many thanks.</div><div><br></div><div>BartT</div><div><br></div><div><br></div></div></body></html>