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: [PATCH] Fix NetBSD bootstrap


On Thu, 17 Nov 2016, Joseph Myers wrote:

I'll presume you know best about the choices of stdint.h types.  You may
wish to consider what the correct value of use_gcc_stdint is - the
default "none" (rely on the system's header), or "wrap" (use GCC's header
in freestanding mode) or "provide" (always use GCC's header).

I committed the following to set it to "wrap" (which is consistent with how the other BSDs handle it).

Bootstrapped and tested on x86_64-unknown-netbsd6.1.

   /Krister


2016-11-19  Krister Walfridsson  <krister.walfridsson@gmail.com>

	* config.gcc (*-*-netbsd): Set use_gcc_stdint=wrap.



Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 242620)
+++ gcc/config.gcc	(revision 242621)
@@ -768,6 +768,7 @@
   tmake_file="t-slibgcc"
   gas=yes
   gnu_ld=yes
+  use_gcc_stdint=wrap

   # NetBSD 2.0 and later get POSIX threads enabled by default.
   # Allow them to be explicitly enabled on any other version.


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