Il 16/04/2013 12:54, Alexey Kardashevskiy ha scritto: >> >> but you shouldn't need it. Just configure your GCC with >> --with-sysroot=/foo and it should just work. > > > --sysroot helps for native compiler but does not for the cross compiler.
That usually points at an incorrect configuration when you built GCC. > Anyway, I tried Markus's patch, now assert.h generates just warnings > which I can successfully suppress. Cool, thanks everyone :) His patch looks good. Markus, can you repost as a top-level message with my Reviewed-by? Paolo