Commit Graph

1138 Commits

Author SHA1 Message Date
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
christos 8c986671c8 look in external first. 2016-01-13 23:01:15 +00:00
christos d1c4f2bedd groff has moved 2016-01-13 19:29:26 +00:00
christos 12a818e828 lex source moved. 2016-01-09 17:40:37 +00:00
christos 07a1a60ca9 Save a couple of dollars now that make is fixed. 2016-01-09 01:13:42 +00:00
christos eab6a8b567 libelf has moved. 2015-12-27 21:37:50 +00:00
christos 927b4a5792 move sortinfo after pax 2015-12-19 01:10:31 +00:00
christos 14e50442f2 Add sortinfo 2015-12-18 18:56:33 +00:00
christos d8b72b3b93 kill -x, files that don't exist anymore 2015-12-17 22:31:49 +00:00
christos d14bf0b7ec bump for printf/syslog format changres 2015-10-16 00:41:07 +00:00
christos 15404ac95d use c comments 2015-10-09 14:42:40 +00:00
christos 2ecf333ea1 don't lie in the comment; this is not the re-entrant version 2015-10-08 20:33:58 +00:00
christos 51c8e06c4d Switch to a version that does not suffer from reporting the wrong length
if the file contains NULs. From OpenBSD.
2015-10-08 20:20:45 +00:00
pooka bc0dc0b26e Add more compat defs for code compiled for !NetBSD targets.
At least GNU Hurd lacks MAXHOSTNAMELEN/MAXPATHLEN/PATH_MAX, so make sure
those have some arbitrary semi-sane values.

from Robert Millan in PR misc/50166, with some modifications from myself
2015-09-21 21:50:16 +00:00
christos 6fbf8f6644 undo previous; include is in ${.OBJDIR} 2015-09-17 14:25:43 +00:00
skrll a9a1ce9deb gdb.old is no more. 2015-09-17 09:34:20 +00:00
christos 2b8a0471fe make this more robust by using .CURDIR to cd. 2015-09-17 02:22:47 +00:00
christos c51dc1d472 add double quotes for consistency 2015-08-16 09:17:49 +00:00
christos d0e1037b7b handle gdb-7.9.1 2015-08-16 09:14:53 +00:00
mrg 5414ce041b for now, use gdb.old. 2015-08-15 21:12:28 +00:00
kamil c4c10ad1a1 Add reallocarr(3) to tools/compat
This should unbreak libutil(3) creation on systems withot reallocarr(3).
2015-07-26 14:01:53 +00:00
mrg cf4dd8937a remove the xfree86 reachover makefiles and the vast majority of
the support in the rest of the source tree.

X11 sets could use some cleaning up perhaps (just deletion, as
we've never really marked the old X11R6 as obsolete for native
xorg using platforms so far either.)
2015-07-23 08:03:24 +00:00
matt 589b128fbc Support building the xorg X11 libraries under MKCOMPAT.
Add XORG_MACHINE_ARCH to compat's bsd.*.mk
Turn xorg makekeys and makestrs into real host tools which are installed into
${TOOLSDIR}
2015-06-24 22:20:24 +00:00
christos 5c5210c091 Like the non-host mkdep don't print ./foo.h as a dependency, but simplify
it to foo.h. This was causing problems with:

.y.h: ${.TARGET:.h=.c}

where .h was ./cgram.h and the source became ./cgram.c confusing for example
/usr/src/tools/lint1 because make had both cgram.c and ./cgram.c in the list
of sources, trying to build both of them in parallel thinking that they were
different files. Since the regular mkdep does not produce such dependencies,
the regular build does not suffer from this issue.
2015-05-12 00:04:34 +00:00
joerg f022b767bf misc/48722: Use explicit HOST_SH in case the user insists on removing
permissions from the filesystem.
2015-03-05 10:22:25 +00:00
mrg ffaa4bd44e kill the -fPIC that m68000 ends up with, fixing it in the specs
is not trivial..
2015-01-31 08:50:01 +00:00
mrg 5c6c8063ac canonicalise the src dir to /usr/src, so it doesn't matter
where we run mknative.
2015-01-30 12:23:47 +00:00
joerg d8eb4f1993 Update build system glue for LLVM 3.6RC1. Notable changes:
- Old JIT is removed.
- Improvements to debug information handling.
- ARM: check for deprecated instructions and warn in the integrated
  assembler
- PPC: VSX support, va_arg support for struct/union types, -fPIC vs
  -fpic supported, faster atomics
- x86: improved vectorizer
2015-01-29 20:41:33 +00:00
uwe 803bb83c30 Add endian_machdep.h files for sh3 machines to _ARCH_INCS as
sh3/include/elf_machdep.h needs it since r1.11.

Unbreaks tools build on non-netbsd hosts (and whatever problems on
netbsd hosts of different endianness that might have been caused by
the mismatch).
2015-01-24 16:21:33 +00:00
christos 8283eb918f add strtoi strtou (Kamil Rytarowski) 2015-01-18 18:09:10 +00:00
christos ee9a7d9469 we have lto... 2015-01-16 20:10:26 +00:00
christos 17972cafc9 regen 2015-01-16 18:44:31 +00:00