Commit Graph

1114 Commits

Author SHA1 Message Date
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
christos
b89ab6e264 strto{i,u} 2015-01-16 18:44:06 +00:00
skrll
b4b886e5d8 Fix gcc PR target/64479 [SH] wrong optimization delayed-branch 2015-01-15 08:42:14 +00:00
joerg
72e6048ca0 Reorganise the way xorg is build. Move build of makestrs into src/tools
as it is needed for the "includes" phase. Make it symlink all necessary
headers in obj to decouple it from "includes" itself, breaking the
dependency cycle. Move the do-x11 target between do-lib and do-build, so
that libraries can get the benefit of build_install (correct .WAIT
behavior) and everything else like "includes" uses the plain SUBDIR
entry in external/mit.
2015-01-07 20:42:01 +00:00
joerg
025900ca94 cleandir-llvm should not exist in the filesystem 2015-01-05 18:41:59 +00:00
apb
5ffb287e29 Update documentation about tools being restricted to C89 (or not).
It's not practical for the C89 restriction to be maintained for
compilers, but it is still desirable for most tools.  The "long long"
data type is in wide use despite not being in C89.  C99 library features
(as opposed to language features) can often be added to the compat
framework when the need becomes apparent.
2015-01-03 13:20:11 +00:00
christos
1741549da9 add __UNVOLATILE 2014-12-24 16:18:46 +00:00
christos
acfd168486 remove unused constants (Kamil Rytarowski) 2014-12-22 18:08:39 +00:00
pooka
6c078a85f6 build genassym for TOOLS_BUILDRUMP 2014-12-05 01:50:47 +00:00
mrg
e4e7131a68 use --disable-shared on m68000 for mknative. 2014-11-22 19:41:27 +00:00
joerg
706f66c9f4 If the internals are not explicitly requested, use #include_next to pick
up the system version. <locale> from libc++ requires this and is used by
src/tools/elftosb2.
2014-11-12 15:08:52 +00:00
skrll
d5fd623ace Note new date for version - this is the import date. 2014-10-20 08:37:30 +00:00
mrg
c1ff61510d add --enable-libstdcxx-time=rt for the GCC 4.8 build. 2014-10-10 20:23:22 +00:00
christos
0fe1d114cc add gpt 2014-09-30 19:38:25 +00:00
christos
92e39ddd46 now gpt works under macosx. 2014-09-30 18:00:28 +00:00
apb
8c50b72e75 Say that tools should use C89, not C99; Say that tools may use
HAVE_NBTOOL_CONFIG_H to conditionally exclude features.  Many
other small changes.
2014-09-30 07:34:50 +00:00
christos
0097d76426 add opendisk 2014-09-29 21:05:11 +00:00
christos
fe3105d7f6 Not ready for prime time, needs at least proplib. 2014-09-29 20:29:44 +00:00
apb
3512e573be It is usually easy to add new definitions to src/tools/compat, and that
is usually better than adding compatibility definitions to individual
tools.
2014-09-24 16:17:39 +00:00
christos
1ffd7c80d4 put O_CLOEXEC definition here. 2014-09-24 13:17:35 +00:00
matt
58bfd92e80 Add sys/arch/riscv. 2014-09-19 17:30:13 +00:00
christos
17d648a1fc Fix problem reading the last line when it did not contain a delimiter
(Hubert Garavel)
2014-09-16 17:23:50 +00:00
martin
5621a8b94e Avoid overflowing the "year" value by making the field uint64_t. Adapt
arguments and local variables accordingly.
This now fixes PR 49144 for real.
2014-09-07 11:50:23 +00:00
matt
e1c4f892b5 or1k does not support --with-float 2014-09-03 19:25:29 +00:00
matt
667791d88d Add or1k 2014-09-03 19:24:52 +00:00