Commit Graph

2636 Commits

Author SHA1 Message Date
joerg 135a988400 Don't link explicitly against libsupc++, just use the normal C++
linkage.
2012-08-10 12:12:18 +00:00
joerg f184a5c33b Only build gcc here, if MKGCC != no. 2012-08-10 12:11:30 +00:00
christos cbd8b26f5f add libexecinfo 2012-06-10 15:04:47 +00:00
joerg 12d82dda2b Format strings don't use all arguments in the non-pluralized case. 2012-05-09 07:59:23 +00:00
joerg b757af438b Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
christos 540f3eef91 Teach rcs about the new cvs "commitid" keyword, so that we don't bitch each
time we play with an RCS file maintained by CVS.
2012-03-08 21:32:28 +00:00
matt c706ec8d90 Add bsd_kvm.o 2012-03-02 16:39:26 +00:00
riz 80d0f48794 Add NetBSD 7.0, and make the default 6.0. 2012-02-15 23:06:20 +00:00
dholland de37c897b5 Add libquota, as requested by wiz 2012-01-25 22:22:20 +00:00
joerg a1968c686d Second try to sort out the dangling elses. Just use {} markers.
Produces identical on amd64.
2012-01-12 14:10:56 +00:00
tron f834547595 Revert last change. The extra while loop intruced by the macro changes
causes an end-less loop in ci(1) which uses "break" inside one of the
macros.

"/etc/security" will now no longer fill up "/" (or "/var" depending on
file-system layout).
2012-01-08 13:57:31 +00:00
joerg 3a4dc84ff4 Don't use dangling elses. 2012-01-06 15:16:02 +00:00
christos ecb433c89b undo previous, my sources were wrong. 2011-10-02 15:04:47 +00:00
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