Commit Graph

1169 Commits

Author SHA1 Message Date
christos
cf6cbc80c5 need ctype.h 2017-01-07 02:55:19 +00:00
christos
621e8732cd Check for declarations, not the existance of functions since some are
visible only when _NETBSD_SOURCE is defined. This avoids || defined(__NetBSD__)
hacks.
2017-01-07 02:52:04 +00:00
christos
81c11d5f0f handle the case where we don't have the files built yet 2017-01-06 20:27:19 +00:00
christos
792fa3b107 don't run grep if we don't have the Makefile, like when we are building
objdirs
2017-01-06 17:22:51 +00:00
christos
0a3c283ede regen 2016-10-19 21:55:26 +00:00
christos
883488e64e try to fix missing decls 2016-10-19 21:54:20 +00:00
mrg
4141e03cf9 pass GDB_MACHINE_ARCH to mknative-gdb and use that as the subdir.
obtain GDB_MACHINE_ARCH from the new gdb Makefile.gdb_arch.
2016-10-16 04:37:42 +00:00
christos
17fc55e9e9 Fix the host build of aarch64 with clang 2016-10-14 14:41:59 +00:00
christos
60788873f5 Define __STDC_{LIMIT,CONSTANT,FORMAT}_MACROS in CXXFLAGS.
The problem is that the gnulib interception of <stdint.h> and <inttypes.h>
does not really work because we implement those internally with
<sys/inttypes.h> and <sys/stdint.h> and those internal headers are used
by other internal headers *before* they get a chance to be intercepted
(where the __STDC_ macros are defined).

Another way to fix this is to move the inclusion of the other headers
in <stdint.h> and <inttypes.h> outside multiple inclusion protection.
2016-10-12 18:43:40 +00:00
mrg
203d3087cb pass -L in LDFLAGS. clang complains about it to stderr, and configure
checks for headers fail if there are unexpected stderr.
2016-10-11 03:57:00 +00:00
christos
9d29ca0833 revert our changes; softfloat removal is now done in libgcc/config.host 2016-10-05 19:25:49 +00:00
christos
ca4d0436a9 We provide our own soft-float implementation in libc, so elide the libgcc
sources for it.
2016-10-05 14:16:12 +00:00
christos
c232bb11c5 Add exec_ecoff.h 2016-09-14 00:41:04 +00:00
christos
e0f345fa97 use the nbcompat copies for those files 2016-09-03 11:34:05 +00:00
mrg
7e5bd89da2 set gcc 5.4 netbsd version to 2016-06-06 2016-06-07 08:12:13 +00:00
mrg
814d336214 set _OUTDIR and _OUTDIRBASE properly for gcc.old, and fix a sed. 2016-04-21 07:22:15 +00:00
riastradh
e1fdad5e8b Disable stripping pcc tool.
We don't have a tool that strips tools -- we have only a tool that
strips target programs.  $TOOLDIR/bin/$PLATFORM-install supports -s
by invoking the target-stripping tool, which chokes if you try to use
it to strip tools on a sufficiently different cross build.  So let's
just not strip the pcc tool -- it's tiny enough that I'm not worried
about its unstripped size!
2016-03-30 23:36:45 +00:00
mrg
c6df9b1e81 use --with-diagnostics-color=auto-if-env as the default for GCC 5. 2016-03-26 09:02:56 +00:00
mrg
1e7ce98d0d set NETBSD_GCC_VERSION for GCC 5.3 separately.
don't collect crtstuff anymore.
2016-03-17 23:41:21 +00:00
christos
816f40abde Add DPADD's 2016-03-17 18:43:29 +00:00
mrg
6550c74580 grab insn-modes.h, and do the libgcc bootstrap from gcc as well. 2016-03-16 11:16:05 +00:00
mrg
a37431532b unwind.h has a new problem, and fix the grabbing of x86 specific files. 2016-03-16 05:47:43 +00:00
mrg
df62ea31af - pull i386-builtin-types.inc automatically on x86
- reenable cxx rt support
- don't grab insn-modes.h, we build it
- rename the c98 and c11 subdir codecvt.cc files while extracting
  them with mknative
- grab GGC_H as well, and use it in dependency lists
2016-03-15 21:38:32 +00:00
mrg
e008877335 update for GCC 5.3 libgcov and libstdc++ 2016-03-15 06:10:13 +00:00
mrg
334c303b3a very first baby steps towards GCC 5.3 mknative. 2016-03-15 03:22:06 +00:00
mrg
8872ffd0f4 remove some more GCC 4.5 code. make GCC 5.3 be HAVE_GCC=53, so that,
for example, HAVE_GCC >= 48 works properly.
2016-03-13 01:06:51 +00:00
aymeric
a3838ae30d add our libc's regex implementation to libnbcompat.
This way, nbsed picks it up and it unbreaks the build of xf86-video-intel-old's
man page under Linux and probably other future changes which rightfully expect
the (net)bsd behaviour.

Full release tested on ArchLinux and NetBSD 7.0_STABLE
2016-03-06 10:19:01 +00:00
martin
7493d9dc28 Remove regexp.h here temporarily 2016-03-01 10:11:07 +00:00
martin
7263822890 Revert to rev 1.77 for now on Aymeric's request 2016-03-01 10:09:00 +00:00
aymeric
978d3464f5 remove regsub.c from the list of files to build because it unbreaks the build
and this API is not yet endorsed. OK christos@
2016-03-01 06:48:55 +00:00
aymeric
90b3c9835b add our libc's regex implementation to libnbcompat.
This way, nbsed picks it up and it unbreaks the build of xf86-video-intel-old's
man page under Linux and probably other future changes which rightfully expect
the (net)bsd behaviour.
2016-02-29 22:19:29 +00:00
skrll
a8be279001 Sort using mkheaderlist.sh:1.3 2016-02-23 11:43:57 +00:00
skrll
09049b2f7c Sort the output 2016-02-23 11:43:04 +00:00
martin
c9d7952e8d Add missing closing ) and line continuation for mknative 2016-02-15 13:25:12 +00:00
christos
363ff477c7 silent when we don't have -ldl 2016-02-01 14:18:16 +00:00
christos
ff7061cdde kill error message 2016-02-01 14:17:21 +00:00
christos
ef6d39d2aa Figure out if we need libdl. 2016-02-01 13:48:01 +00:00
christos
9c8e579af7 Add -ldl if it is needed 2016-02-01 13:44:52 +00:00
christos
8523d51853 clean Makefile.local 2016-01-27 21:24:59 +00:00
christos
3c3d44a7db use HOST_CFLAGS for -pthread 2016-01-27 21:18:28 +00:00
christos
e93985e2d5 use -pthread for more portability 2016-01-27 18:43:44 +00:00
christos
7f2bcc7a02 use EXTERNAL_GDB_SUBDIR 2016-01-26 17:48:31 +00:00
christos
22253bc332 use EXTERNAL_BINUTILS_SUBDIR 2016-01-26 17:47:35 +00:00
christos
a5b18563d7 move cvslatest last 2016-01-24 22:49:08 +00:00
christos
b342d8bcb3 Tool version 2016-01-24 20:14:17 +00:00
mrg
e369ed1ed0 prepare for GCC 5:
- remove GCC 4.5 stuff, add most very basic GCC 5 stuff.
- use mknative-gcc.old for GCC 4.8
- copy mknative-gcc to mknative-gcc.old (should have done this when we
  switched to using gcc.old.)

this should not affect current builds.
2016-01-24 05:10:26 +00:00
mrg
bb92a8ab71 add a comment saying this is for GCC 4.8 2016-01-24 05:02:23 +00:00
christos
73f09d245f Regen with autoconf 2.69. 2016-01-20 19:35:32 +00:00
christos
ee45ee4be7 look in gpl3 for stuff too (autoconf) 2016-01-16 18:38:53 +00:00
christos
c57a971ad4 grr another copy of the path I missed; factor out to a variable. 2016-01-14 01:13:26 +00:00