This is the mail archive of the
mailing list for the GCC project.
Re: Question on -Werror usage in Makefiles...
> From: Eric Botcazou <firstname.lastname@example.org>
> > Looking through config.gcc, I see that sparc64-openbsd, sparc*-elf,
> > sparc-rtems, sparclite-elf and sparc86x-*-elf are among the
> > non-solaris targets which include sol2.h. Unless they redefine
> > TARGET_OS_CPP_BUILTINS, checking... Some of them do but not all.
> > Perhaps we could fix the rest and then wrap sys/mman.h in #ifdef sun ?
> Why not a configure test then?
Because we're talking about libgcc2.c and we don't/can't use configure
tests in our framework for target files.
Kaveh R. Ghazi email@example.com