http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58397
Bug ID: 58397 Summary: Please add host_hooks for NetBSD to make precompiled headers work Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: martin at netbsd dot org Created attachment 30802 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30802&action=edit build glue changes As discussed in #58370 and #58379, precompiled headers do not work on NetBSD hosts. To fix this, a new gcc/config/host-netbsd.c file and the needed build glue is attached. This is mostly a copy of the openbsd stuff with a few minor changes (like adding MAP_FIXED, which is needed on NetBSD) and adding a different address for sparc64 machines.