hpux 10.20 and mmap everywhere

John David Anglin dave@hiauly1.hia.nrc.ca
Fri Jul 7 11:53:00 GMT 2000


>   > The GNU gc routines will use mmap in preference to valloc if HAVE_MMAP_ANYW
>   > HERE
>   > support is available.  Would the performance improvement from using mmap in
>   > the gc routines be worth modifying configure and the gc routines for this
>   > case?
> Using mmap is definitely preferred.  Yes, the hpux mmap is a little
> different from the rest of the world.  I've complained to folks writing
> autoconf tests to write them to be hpux-aware on and off for years....

I believe gcc currently uses its own local autoconf tests re mmap.  They
are in aclocal.m4.  Thus, a change at this point wouldn't affect the
autoconf development, although I am sure they would be interested.  I think
what is needed is a MMAP_ANONYMOUS test.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


More information about the Gcc mailing list