On Wed, 9 May 2012, Manuel L?pez-Ib??ez wrote: > which looks correct to me. However, the build fails because now > options.h requires input.h which requires line-map.h, which is not > included when building for example libgcc. options.h is included by > tm.h, so it basically appears everywhere. > > Any suggestions how to fix this?
options.h already has some #if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS) && !defined(IN_RTS) conditionals, so you could arrange for some more such conditionals to be generated. -- Joseph S. Myers jos...@codesourcery.com