Commit Graph

2673 Commits

Author SHA1 Message Date
christos
7cdf1ad1d3 add a missing file, found with the new binutils. No chance we are going
to run mknative again on this, so the manual fix.
2011-10-02 14:24:08 +00:00
wiz
7c47a19704 Add libppath. 2011-08-29 08:58:18 +00:00
joerg
4c415c49ae Passes relaxed array boundary checks with clang now. 2011-08-09 13:02:11 +00:00
mrg
fe6ec5094e apply some -O0 for sun2. 2011-07-03 15:26:25 +00:00
mrg
f15b09a338 use:
extern "C" { stuff-here; }
instead of just
  extern "C" stuff-here;
that GCC 4.5 demands.
2011-06-29 01:59:26 +00:00
mrg
8dbf0d5bb3 prepare to build native gcc 4.5, don't build native gcc 4.1, for HAVE_GCC=45 2011-06-21 04:52:49 +00:00
mrg
0de3f09ec1 remove sh5 code. 2011-06-20 09:27:43 +00:00
matt
408fc28bdd If compiled with -msoft-float, make the compiler emit soft float code
by default.
2011-06-11 00:59:44 +00:00
joerg
28050549eb Ignore warnings when building with clang for now. 2011-05-30 14:41:26 +00:00
drochner
ab9971ef78 add a line "image_generator gs" to the DESC file as the original
build framework does, lets "groff -Thtml" at least start
(it seems that ghostscript is not needed at least for simple documents)
2011-05-27 17:23:47 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
joerg
fb659447a4 Set WARNS explicitly to 0. 2011-05-25 15:24:07 +00:00
wiz
d01698ddc5 Do not use TAB to line up library arguments, use spaces. 2011-05-21 17:15:46 +00:00
joerg
c4c86edd0d Put the -std=gnu89 into CPPFLAGS to make sure it gets applied after the
-std=gnu99. Add a comment about this.
2011-05-20 22:13:22 +00:00
joerg
5bb05ebf25 Force GNU89 mode for GCC itself to deal with the non-standard
"extern inline" mess.
2011-05-20 21:35:02 +00:00
christos
edde9a4247 find system.h in src 2011-05-15 14:57:56 +00:00
christos
6cea01f069 register c -> int c 2011-05-15 14:31:13 +00:00
joerg
0cef9f9563 Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.
2011-04-21 14:26:33 +00:00
joerg
dd04acc9a4 Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.
2011-04-15 13:42:22 +00:00
joerg
f9bbef6fd3 Extend CPPFLAGS, don't replace it 2011-04-10 16:47:04 +00:00
skrll
c86f122509 Re-run mknative to pick up TLS support.. 2011-03-10 15:15:26 +00:00
haad
6024239e67 Fix problems in libdm manual page pointed by njoly@ thanks for help. 2011-02-28 23:23:08 +00:00
joerg
bb8c5e2153 bsd-kvm.c needs -D_KMEMUSER now. 2011-02-18 22:27:51 +00:00
christos
13b2862bfd Tell the groff and friends about libsaslc(3).
Sort and fix whitespace on mdoc.local.
Add libisns to doc2html.
2011-02-11 23:47:49 +00:00
matt
73f5a201e2 Default NetBSD to -msecure-plt now. 2011-02-10 07:18:29 +00:00
pooka
ff1200ecb5 add port-emips 2011-01-27 18:51:16 +00:00
matt
529766656e mips64 gcc now defaults to soft-float 2011-01-23 06:31:39 +00:00
uwe
7b244b7d28 Add FreeBSD-9.0. 2011-01-19 00:10:10 +00:00
wiz
c1f176e16d Move isns description from dist/groff to usr.bin/groff, where it belongs.
Add isns to mdocml libraries as well.
2011-01-18 09:28:42 +00:00
joerg
0e4ac962b5 Remove NOMANDOC, the documents are at least parsed somewhat sensible. 2011-01-12 23:03:55 +00:00
njoly
93cbd1415d Regen amd64 files for 32bit binaries support. 2010-12-24 14:49:18 +00:00
joerg
6c436c698f Push C++ library linkage into the shared Makefile.inc fragments. 2010-12-16 22:54:18 +00:00
wiz
2ec5b1f671 Add entry for libperfuse. 2010-09-01 13:01:35 +00:00
wiz
dfcdc38176 Recognize x86 and xen. 2010-08-07 18:57:12 +00:00
mrg
4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
jklos
99542d6976 Added optimization reduction for gdb/dwarf2-frame.c for Amigas. We don't
see the problem on other m68k platforms, but that could be because other
platforms don't have m68060s (except Atari, perhaps).
2010-05-28 19:11:23 +00:00
joerg
571df0a6a5 Fix trailing whitespace 2010-05-14 01:53:28 +00:00
mrg
2f6bd86c72 re-run mknative-gcc. picks up:
- gthr-posix.h fix
- stpcpy / stpncpy
- various GAS support
2010-05-08 03:00:10 +00:00
drochner
7399a74f7a mknative-gcc run to pick up gthr-posix.h change
(also picks up stpcpy() and stpncpy(), and gas weakref support)
2010-05-06 10:08:11 +00:00
mrg
079372a7aa install altivec.h in powerpc64.
from dennis.c.ferguson@gmail.com in PR#43075.
2010-03-30 07:27:08 +00:00
mrg
d7055d4003 copy across the powerpc versions of these files for now. should use
mknative-gdb to generate these, but my initial attempt failed and
these ones seem to be about what i'd expect anyway.
suggested by dennis.c.ferguson@gmail.com in PR#43043.
2010-03-27 20:17:31 +00:00
mrg
ac5bb775fa link in libsim on powerpc64 as well.
from dennis.c.ferguson@gmail.com in PR#43044.
2010-03-27 19:46:57 +00:00
skrll
5b65f3319f (re-)run gcc mknative for powerpc64.
Fixes PR/43008.
2010-03-19 14:01:57 +00:00
mrg
19499f3f8d update all of these makefiles for the .so -> .pico change.
most of them are most harmless, but the libgcc parts are quite essential.
before this change, all the special rules for .pico files were not applied,
and exception handling wasn't enabled.  this caused c++ exceptions not to
work on sparc64.


this fixes the build of boost-headers (it was correctly calling exception
support broken!), which in turn makes all the things that depend upon it
to actually work again on sparc64.
2010-03-14 00:26:09 +00:00
wiz
59afab0ca6 Add more FreeBSD versions. 2010-02-21 21:16:09 +00:00
wiz
00e9c46967 Add FreeBSD-8.0. 2010-02-21 21:08:27 +00:00
wiz
4865efa9a5 Sort library descriptions. 2010-02-04 09:07:29 +00:00
roy
98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
wiz
ad9684dee2 Install mom macro sets again, per request from Petar Bogdanovic.
Don't install generated PostScript files that were part of the reason
for the removal.

Based on a patch by him with slight changes.
2010-01-26 15:11:56 +00:00
mrg
b4818d3cf1 XXX: turn off sim support by hand. yay, now gdb links on mips64. 2009-12-15 16:31:54 +00:00
skrll
b16946f34b First pass at gdb mknative for mips64* 2009-12-15 08:25:10 +00:00
uebayasi
ca9b54662a Conditionalize gnu/usr.bin/groff build by ${MKGROFF}. 2009-12-14 13:39:33 +00:00
mrg
4a1f591022 run mknative-gcc for these, in -current. 2009-12-14 04:43:59 +00:00
mrg
e00f8f918d regenerate these with -current mknative-gcc. 2009-12-14 03:44:27 +00:00
mrg
149287da38 add the mips64 files as found on the matt-nb5-mips64 branch,
for base-reference.
2009-12-14 02:26:28 +00:00
pooka
d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
joerg
62bcbea33d Add the -iremap option to gcc(1) and cpp(1). This option specifies a
prefix transformation rule for __FILE__ and can be used to avoid
hard-coding the location of the source tree in the resulting binary.
2009-11-11 19:03:52 +00:00
skrll
0f3b48f345 Remove binutils 2.16 crossover build files. 2009-11-08 15:24:36 +00:00
enami
518511b898 Accept -U num. Nowadays, diff(1) rejects -u0 etc by default. 2009-11-06 22:02:35 +00:00
christos
74d5fd875f YY_NO is not needed here. 2009-10-29 14:32:18 +00:00
joerg
5733f40793 Reduce amount of macro magic. Use the same special characters as nroff
can deal with limitations of the terminal.
2009-10-24 19:31:03 +00:00
joerg
aedb06c6a4 Don't even try to use mandoc for the groff documentation. 2009-10-23 23:23:56 +00:00
joerg
5e73cc20c9 Reduce macro magic. Ensure that GNU is on the left side.
Consistently use roff character entities, nroff is smart enough to deal
with that.
2009-10-23 23:22:54 +00:00
christos
ef84d58c4d put back getline. 2009-10-19 00:28:19 +00:00
christos
bf1e098a88 we have getdelim and getline, no need for a separate copy here. 2009-10-18 23:47:43 +00:00
christos
34d7482a37 we have getdelim now! 2009-10-12 22:20:50 +00:00
skrll
8a9ef45c9c The version from defs.mk is in G_VERSION. 2009-09-24 06:31:08 +00:00
skrll
8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
asau
5947548a82 Use SCRIPTS instead of FILES to handle (executable) scripts.
Approved by dholland.
2009-08-19 20:32:58 +00:00
skrll
3734e9d3e6 Make binutils stuff conditional on HAVE_BINUTILS being 216. 2009-08-18 15:11:25 +00:00
agc
3d7d7405a9 Add explanation of libiscsi, get rid of openpgpsdk 2009-06-25 17:40:07 +00:00
plunky
7b19d61dc6 change description of libbluetooth to "Bluetooth Library" as it contains
more than just host lookups

also, remove libsdp as that has been deprecated
2009-05-16 18:13:08 +00:00
snj
63d43c9446 Add an entry for 5.1. 2009-05-07 00:37:30 +00:00
ad
e8f7cd4ed0 Enable -mtune=nocona by default on x86. I have tested on a range of CPUs
and this seems to give the best results.
2009-05-04 21:32:31 +00:00
joerg
ce8b4de7cb Convert gcov man page to mdoc(7) using othersrc/usr.bin/pod2mdoc.
Do some manual post-processing and use that as new gcov(1).
The original version is included to add as base for three-way merges.
2009-04-30 00:56:29 +00:00
joerg
cbe0c9ed8f Convert CPP man page to mdoc(7) using othersrc/usr.bin/pod2mdoc.
Do some manual post-processing and use that as new cpp(1).
The original version is included to add as base for three-way merges.
2009-04-30 00:45:47 +00:00
joerg
088f138ba4 Convert GCC man page to mdoc(7) using othersrc/usr.bin/pod2mdoc.
Do some manual post-processing and use that as new gcc(1).
The original version is included to add as base for three-way merges.

OK wiz, no objection from tech-userlevel.
2009-04-30 00:30:56 +00:00
agc
5abe14eabf Add a definition for libnetpgp 2009-04-28 15:41:52 +00:00
reed
742585d6c5 Fix librefuse macro to show -lrefuse (not -lfuse).
That will fix "man refuse" Library details.
2009-04-28 03:07:53 +00:00
drochner
0fa7059102 define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160 2009-04-20 16:05:29 +00:00
christos
736e89e40b goodbye old cvs 2009-04-18 12:58:19 +00:00
joerg
ae707ac197 Install some default transliterations for man pages. If nroff is used
with ASCII as output, encode the German umlaut and szet characters with
the normal transliteration rules.

OK wiz@
2009-04-12 17:56:35 +00:00
christos
abaef4a949 unhook cvs 2009-04-08 16:29:18 +00:00
drochner
94b97e7a5b regenerated after i386 gcc configuration change (assume i486) 2009-03-27 19:38:43 +00:00
joerg
c75b98fd0e Add entry for libfetch. 2009-03-11 14:29:06 +00:00
sketch
0d9ab2b40e Make grep a host tool. 2009-02-25 20:36:44 +00:00
agc
8588595fb1 Add an entry for libopenpgpsdk. Thanks to wiz for the nudge. 2009-01-31 15:57:55 +00:00
christos
a1323d3f16 add a few quotes to make older make(1) happy. 2009-01-26 00:44:32 +00:00
mrg
268cca30b1 some fixes for PR#40170:
- set NATIVE=yes in the environment for genscripts.sh
- set LIB_PATH to /usr/lib/{sparc,i386} for those scripts
- set use_sysroot to "yes", to enable LIB_PATH to work in genscripts.sh
2009-01-06 03:08:39 +00:00
dbj
930ff683e1 pass HOST_CFLAGS when building cross tools 2008-11-04 23:58:40 +00:00
tls
09c3b3c8d4 Add manual page for nsp(4), the driver for NSP2000 cryptographic
accellerators.  Adjust mdoc.local so it knows about .Fx 4.11, present in
nsp manual page.
2008-11-02 22:11:36 +00:00
agc
50189563fb Set doc-operating-system and doc-default-operating-system 2008-10-31 04:32:54 +00:00
agc
62938bf16c Add a definition for NetBSD-current (which will become NetBSD-6.0) 2008-10-31 04:30:22 +00:00
mrg
ec707d6be3 don't check MKSHARE here, it is no longer valid. 2008-10-30 20:09:50 +00:00
apb
a02cace51f Use ${TOOL_SED} instead of plain "sed" in "!=" assignments.
This may need more work to prevent warning messages during
"make cleandir" when the commands in "!=" assignments are executed
even though tools may not have been built.
2008-10-25 22:35:36 +00:00
apb
f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
apb
2f23c0edc4 Rewrite a "!=" command to avoid using sed. 2008-10-25 22:10:39 +00:00
hannken
98f8b098aa Process FILES section only at "install" time. TOOL_AWK is not yet available
for earlier make targets.

Ok: Alan Barrett <apb@netbsd.org>
2008-10-22 17:54:23 +00:00
apb
96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
mrg
6fa3737bb8 since the Makefile creates stuff in (objdir) ./ldscripts/ and then
later deletes it, move the kmodule ldscript into 'xldscripts' and
deal with it from there.

fixes build issues where src/gnu/usr.bin/binutils/ld/ldscripts went
missing as reported by at least 2 people so far.
2008-10-13 22:36:55 +00:00