[Scratchbox-users] Foreign toolchain - cross compilation warnings
Peter Pearse
peter.pearse at arm.com
Wed Jun 6 12:23:01 EEST 2007
Dear list
Using the latest CodeSourcery toolchain as a "foreign toolchain" in
scratchbox I get warnings of the form
cc1: warning: include location "/usr/include" is unsafe for
cross-compilation
/scratchbox/compilers/arm-2007q1_arm/bin/../lib/gcc/arm-none-linux-gnueabi/4
.2.0/../../../../arm-none-linux-gnueabi/bin/ld: warning: library search path
"/usr/local/lib" is unsafe for cross-compilation
These are, of course, valid. However, many package configure scripts assume
any warning issued is a failure.
Does anyone know of any simple way to suppress these warnings, without
rebuilding the toolchain?
Peter
More information about the Scratchbox-users
mailing list