On Sun, 26 Feb 2006, Ralf Corsepius wrote: > Cross building and installing gcc-4.1.0 rc2 (--prefix=/usr/local) > installs these headers: > > /usr/local/include/ssp/unistd.h > /usr/local/include/ssp/string.h > /usr/local/include/ssp/ssp.h > /usr/local/include/ssp/stdio.h > > Is this behavior correct? > > /usr/local/include is reserved for host files. These files (Seemingly > new in GCC-4.1.x) are the only host files GCC is installing when > building a cross-compiler.
Indeed, this is a bug. And it's a bug both for for cross-compilation as well as native compilation Related problems include Bugzilla #23935 ($PREFIX/include/ffi.h), #25938 ($PREFIX/include/gomp.h), and #18244 (include/mf-runtime.h). Frank, any chance you could look into the mudflup one? Unfortunately, we don't have a libffi maintainer listed. :-( Gerald