This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH build/doc] Replacing libiberty with gnulib
You appear to be including ../gnulib/config.h for both host and build.
That can't be right when host and build are different. In that case you
need to include config.h from the correct build directory in each case.
You also need to arrange for BUILD_CPPFLAGS to have the right -I options
for gnulib for the build system.
--
Joseph S. Myers
joseph@codesourcery.com