Commit Graph

1368 Commits

Author SHA1 Message Date
christos 142620627d Add reallocarray; this is used by the new regex code and we don't want to
convert it to reallocarr so the code is kept similar with the original from
FreeBSD.
2021-02-25 13:41:58 +00:00
rin 1fb63bb836 Fix copy-paste error for heapsort(3), so that it is declared appropriately. 2021-02-23 16:03:00 +00:00
dbj e1f6b977ca tools: allow MKCROSSGDB to work when not building gcc 2021-02-06 16:14:55 +00:00
rillig c5b23e2249 lint: make path to lint data configurable
This is needed for strict bool mode, to make the custom header stdbool.h
available when lint is run as part of build.sh.
2021-01-24 16:55:09 +00:00
rillig 568ebf3743 lint: fix path to installed stdbool.h for strict bool mode 2021-01-24 16:22:55 +00:00
christos e2e1ee60e1 Install lint's custom stdbool.h and make lint search for it in the right place. 2021-01-24 15:43:09 +00:00
christos 575adc5486 Don't bother with gdbserver for archs that don't build it. 2020-12-05 21:27:31 +00:00
rin 6053aa6ca7 Correct target directory; src/external/gpl3/gdb.old not gdb. 2020-10-09 23:48:42 +00:00
rin 547879b380 Nowadays, mknative-gdb puts files into external/gpl3/gdb/lib,
instead of external/gpl3/gdb/bin/gdb.

Also, we need to nbmake-MACHINE in external/gpl3/gdb in order to
build dependent libraries correctly.
2020-10-09 23:44:46 +00:00
mrg 4dfd2f9831 initial working version of native-gmp support.
does not use mknative.common yet, so always updates files and does
not mark them with NetBSD rcsid.  (not a regression from the manual
version at least.)
2020-09-26 20:56:53 +00:00
christos 254454c5af grab the gdbserver version 2020-09-24 14:53:17 +00:00
christos 833251feb8 Add gdbserver 2020-09-23 23:21:29 +00:00
christos cfd59bbc53 put gnulib stuff under gnulib/ because things import "gnulib/config.h" 2020-09-17 16:54:31 +00:00
christos 6b8c077795 remove obsolete 2020-09-17 16:07:39 +00:00
christos 576200d14e refine 2020-09-17 16:05:34 +00:00
christos d377601318 Save the mknative-gdb for 8.3 and prepare the mknative-gdb for 10.x 2020-09-17 02:14:48 +00:00
mrg d875c5372c more consolidation and properly condition all variables like previously. 2020-09-09 07:12:04 +00:00
mrg ca7ab82162 consolidate a bunch of libstdc++ variable collection. 2020-09-09 04:52:32 +00:00
mrg d841008ee6 oops, pull out the value of pstl_headers. 2020-09-08 19:17:24 +00:00
mrg 006c30bace mark GCC 9 as (so far) netbsd 20200907 version. this should fix the
compiler saying it is "gcc version 9.3.0 ()".

(needs mknative redo.)
2020-09-06 21:59:33 +00:00
mrg 6e26327fd8 pass down earm* not earmv5* to mknative-gcc. 2020-09-06 02:24:38 +00:00
mrg ecb0fdec1f disable fetching stuff from libsanitizer for now. it needs libstdc++
to build in mknative using gcc makefiles, and our locale changes break
the "normal" build of this.

make sure MKNATIVE_TARGET is always set.  since mknative-gcc doesn't
care about the version any more (we keep two versions for gcc/gcc.old)
simply set it to "gcc".
2020-09-05 10:58:08 +00:00
mrg ef2e34874f pull out a few more things for GCC 9. 2020-09-05 09:49:32 +00:00
mrg 6df74746d4 port to GCC 9.3. 2020-09-05 09:16:46 +00:00
mrg d1531a5681 set MODULE to ${EXTERNAL_GCC_SUBDIR} so this actually works.. 2020-08-13 10:57:53 +00:00
mrg 802242f985 set _OUTDIRBASE depending on $0, and then set _OUTDIR based on this.
now you can copy mknative-gcc to mknative-gcc.old without edit.
2020-08-13 01:52:37 +00:00
mrg 5e4a6425f4 mknative-gcc is for GCC 8.4.
mknative-gcc.old is supposed to be for GCC 7, but is the GCC 6
version.  update it and mark it for GCC 7.5.
2020-08-12 08:53:20 +00:00
mrg 1956332deb update GCC 7 version to nb4 20200810, and fix the unknown GCC version
error assignment from "=?" to "?=" so it works as designed.
2020-08-11 09:51:57 +00:00
uwe dff8694dea Build mkubootimage for evbsh3 too. 2020-07-28 21:38:15 +00:00
rillig ff40d26ffb make(1): remove references to the removed lst.lib 2020-07-26 09:17:24 +00:00
uwe 3ed307aae1 Regen: Add AC_MSG_RESULT yes/no to the uio checks. 2020-06-24 14:44:44 +00:00
uwe 6072166471 Add AC_MSG_RESULT yes/no to the uio checks. 2020-06-24 14:39:01 +00:00
thorpej 696896edc9 Add evbmips support for u-boot handling. 2020-06-21 17:17:01 +00:00
lukem b88ffc9699 nbmake bootstrap: be quieter if MAKEVERBOSE==0
More accurately simulate <bsd.own.mk> and don't even print
the "compile" lines with MAKEVERBOSE=0
2020-06-13 11:39:43 +00:00
lukem d9c439f9ab nbmake bootstrap: consistency fix in MAKEVERBOSE<2 support 2020-06-13 11:32:52 +00:00
lukem 7021f3fda6 nbmake bootstrap: if MAKEVERBOSE < 2, output similar to <bsd.own.mk> 2020-06-13 11:28:24 +00:00
lukem 49c251eb17 tools: configure --silent if MAKEVERBOSE == 0 2020-06-13 10:49:17 +00:00
lukem ccc4feaf7c tools: if MAKEVERBOSE < 2, quieten automake builds 2020-06-13 08:12:16 +00:00
roy e457e4abc4 tools: Build tic with full fat terminfo 2020-04-05 12:31:39 +00:00
christos 1c5c771e20 rename libctf to libgnuctf 2020-04-04 01:34:53 +00:00
christos a5bd4ab452 Handle libctf new in binutils 2.34 2020-04-04 00:47:52 +00:00
christos a0fb52ee6d put the binutils include before /usr/include to get the right md5.h 2020-04-04 00:47:30 +00:00
mrg e94febb36e update date for GCC 8.4.0 import. 2020-03-11 10:07:01 +00:00
joerg 1fb1813c28 LLVM doesn't use term.h, so don't check for it when probing here either.
Increase robustness of checks for incremental builds by forcing a
dependency on the Makefile itself.
2020-02-21 15:00:44 +00:00
christos 7afc64e486 don't try to include the library if we are building it. 2020-01-17 16:50:51 +00:00
christos 05026dfa7b use the host compiler 2020-01-13 19:03:03 +00:00
christos f495d55fa9 add Makefile 2020-01-12 21:49:39 +00:00
christos 2b40925af2 make this compile. 2020-01-12 21:27:43 +00:00
joerg 76c7fc5f6b Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
mrg 500cd05674 add something to auto-detect when GCC has changed from gcc to gcc.old
or back and auto-cleandir tools/gcc.

based upon the code for PREVIOUSTOOLDIR in tools/Makefile.
2019-11-06 07:26:31 +00:00