This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on -Werror usage in Makefiles...


 > From: Eric Botcazou <ebotcazou@libertysurf.fr>
 > 
 > > 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			ghazi@caip.rutgers.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]