This is the mail archive of the gcc@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: PCH and exec-shield...


Mike Stump wrote:

And, on some systems it's the only option;

So, out of curiosity, on what system is it the only option?


HP-UX is a system where I, at least, do not know how to make this reliably, especially on all variants of HP-UX. There are enough variants and sub-variants that it would be hard to even really test them all.

On other systems, it's extremely difficult/impossible to get a single PCH to be loaded at the same address reliably across versions of the OS, or even on machines running the same version of the OS but configured differently. In the past, we've had this problem on Solaris, for example. In situations where you have NFS-mounted filesytems shared by lots of developers, it's often advantageous to be able to use the same PCH file for all of the developers, even if it is not maximally fast for all of them.

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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