> # auto-host.h is the file containing items generated by autoconf and is > # the first file included by config.h. > # If host=build, it is correct to have bconfig include auto-host.h > # as well. If host!=build, we are in error and need to do more > # work to find out the build config parameters. > if test x$host = x$build > then > build_auto=auto-host.h > else > > So it sounds like you could include gnulib's config.h from within > gcc's config.h directly. Looks like that file is generated > by src/gcc/mkconfig.sh, so that's what you'd patch.
Thanks for the pointers, really insightful. I can see mkconfig.sh being invoked inside gcc/Makefile.in with different arguments to create the gcc header files (config.h etc). So I guess I’ll copy all the definitions from gnulib/config.h inside mkconfig.sh and try and test the system. > > Thanks, > Pedro Alves > >