Commit Graph

3290 Commits

Author SHA1 Message Date
kan
b04c144a7e Update for GCC 3.3.1-pre. 2003-07-11 05:33:24 +00:00
kan
4da2d24911 Add unwind-c.c file required for -fexceptions in C sources. 2003-07-11 05:29:11 +00:00
kan
052853e44a Change CFLAGS to more closely follow options used when GCC is built
from stock FSF sources.
2003-07-11 05:27:23 +00:00
kan
8f1052e918 Temporarily turn off -Werror for these components. 2003-07-11 05:24:32 +00:00
obrien
ff905fe5db Only define a default editor if one isn't already defined. 2003-07-07 19:13:39 +00:00
obrien
f026562f33 bfd_elf32_i386_freebsd_vec is the only 32-bit vector we really need.
ar and nm aren't very smart when faced with multiple applicable vectors.
2003-07-01 17:29:48 +00:00
obrien
0619c852dd Add elf_i386_fbsd emulation.
Obtained from:	p4
2003-07-01 17:12:55 +00:00
ru
72b7fea837 Fixed build.
Noticed by:	bde
2003-07-01 14:46:26 +00:00
ru
882e5b4511 Don't build separate annotate.info, it's already part of gdb.info. 2003-07-01 14:04:08 +00:00
ru
5717d54e38 Catch up with bsd.lib.mk,v 1.143. 2003-06-30 19:11:20 +00:00
peter
85d0451faf Add missing quote after cut/paste error in last commit. :-( 2003-06-26 20:34:08 +00:00
obrien
407e2a5e63 Update the target. 2003-06-26 16:13:36 +00:00
peter
5347573e88 Configure gcc in biarch mode for amd64 so that the -m32 flag is enabled
for things like boot blocks etc.

Reviewed by:  kan
2003-06-26 03:02:32 +00:00
peter
9f57a0aa3d Oops, remove hack to stop libstdc++.so being built now that gcc uses
-lgcc_pic by default on -fpic stuff.  I forgot about this here.
2003-06-26 01:30:44 +00:00
des
474f5d89b7 Add an amd64 category now that amd64 has its own mailing list and all. 2003-06-20 10:48:26 +00:00
obrien
747094f260 Remove MAINTAINER lines. 2003-06-14 19:32:52 +00:00
des
d636c87aae Do not bogusly set CSTD to the empty string. 2003-06-14 13:30:32 +00:00
peter
c3e667c8d7 When building a shared library, link it against libgcc_pic.a instead of the
non-PIC libgcc.a.  Linking non-pic code into a shared library is not
a good thing.  It happens to break amd64 at compile time, and the ppc
folks want it too.  The problem is mainly with C++ code, unwind-dw2.c
in particular.  Most of the other functions in libgcc.a are self
contained so most of the time it isn't a problem.  The dwarf2 unwinder
is not safe though since it does make global variable references.

Reviewed by:	kan
2003-06-13 22:25:41 +00:00
peter
3ce4af40dc Build/install the PIC version of libgcc (libcc_pic.a) for use by shared
libraries that do exception unwinding.
2003-06-13 22:07:39 +00:00
ru
cf92a937e6 Teach mdoc(7) about the upcoming 5.2-RELEASE.
Suggested by:	juli
2003-06-09 10:40:17 +00:00
charnier
9132834450 The .Fn function 2003-06-08 09:53:08 +00:00
kuriyama
601592850e Use
cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
2003-06-06 13:46:55 +00:00
ru
46f684c3d7 Make the footer display "FreeBSD 5.1". 2003-06-05 13:18:43 +00:00
ru
16baed8d8e We have at least one consumer of the upcoming FreeBSD 4.9. 2003-06-02 18:43:15 +00:00
obrien
69d9961d2a Something funky is going on here... disabling CSTD makes it go away... 2003-06-02 06:12:14 +00:00
obrien
78508946e7 Don't set a C standard level for ObjC code. 2003-06-02 02:30:52 +00:00
obrien
725bca14c5 Use ?= before someone brings it up. 2003-06-02 02:29:26 +00:00
obrien
cbcedddd2a crtstuff needs isn't compilable with C99 on Sparc64, so set CSTD to gnu89. 2003-06-01 22:18:05 +00:00
peter
adc93a688e Add a temporary indirect patch for gcc when targeting amd64. This is to
give the cvs tree a surviving a 'make world'.  One of the two diff chunks
is already in gcc-3.3, the other has been committed to gcc's HEAD and
is in the pipeline for gcc-3.3.1 (but has not been committed yet).

The first chunk simplifies an excessively complex assembler statement
when generating switch jump tables.  The use of '.' causes as(1) to choke
on big files.  Use a simpler form instead.  This is only an issue for
TARGET_64BIT mode.

The second chunk fixes an internal compiler error when compiling
libc/stdio/vfprinf.c.  While this is supposedly only an issue for
64 bit mode, it does touch the 32 bit i386 code paths, so this patch
is only applied for TARGET_ARCH == amd64 to keep the risks down.
Breaking gcc at the 11th hour would suck.

This will be removed when it is time to import gcc-3.3.

Discussed with:	kan
Approved by:	re (jhb)
2003-05-24 20:58:47 +00:00
peter
ea8c04a97f libstdc++.so breaks on amd64 due to bogons in our build, so prevent the
shared library being built for amd64.  The problem is that libstdc++.so
is produced with 'cc -shared'.  This has an internal -lgcc, which is
not PIC.  libstdc++.so uses exceptions and the dwarf2 unwinder, which
are in libgcc.a.  As a result, non-PIC code gets pulled into libstdc++.so.
This is fatal on amd64 when certain relocation types cannot be used in
PIC mode.  The official FSF solution to this is to have libgcc.so with
internal ELF symbol versioning to solve the ABI problem, but I dont want
to fight that battle yet.  I tried making libgcc_pic.a (which worked
fine), but thats not something for the 11th hour before a release.

Approved by:  re (amd64 "safe" stuff)
2003-05-24 19:38:18 +00:00
peter
8ac1ff3c11 Set the binutils arch for as/nm correctly on the amd64 platform.
As far as binutils is concerned, the amd64 platform is still called
"x86-64"/"x86_64".  Setting things from ${MACHINE_ARCH} breaks that.

Approved by:  re (scottl)
2003-05-08 06:39:31 +00:00
nectar
ec8903b15c Enable GSSAPI/Kerberos 5 support (aka `gserver').
MFC after:	1 month
2003-05-05 16:50:42 +00:00
obrien
aaf79aafef Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
obrien
4c61c38ab5 This is WARNS=2 clean. 2003-05-03 21:30:34 +00:00
ru
17a50033dc Fix build on 4.x. 2003-05-02 11:56:43 +00:00
ru
823a19ab1f Re-enable building of Groff documentation; texinfo has just been
upgraded to version 4.5.
2003-05-02 00:55:52 +00:00
ru
4f8b76b970 Update for texinfo 4.5. 2003-05-02 00:51:24 +00:00
ru
095c2332c2 catman(1) sources now live elsewhere. 2003-05-01 23:48:11 +00:00
obrien
2d17ed7cb7 Lock GCC w/o -m32 into 64-bit mode. 2003-05-01 15:00:46 +00:00
ru
237a2f06d1 Upgrade to Groff 1.19. 2003-05-01 13:22:21 +00:00
ru
4ea93261bb Replace beforeinstall: with plain FILES. 2003-04-30 20:48:03 +00:00
kan
352960dc38 Enable wchar_t support in libstdc++. 2003-04-29 18:10:45 +00:00
obrien
acd90d0aed Wrap gperf in NO_CXX as it needs the C++ to compile. 2003-04-27 20:14:05 +00:00
obrien
7ed3355e10 We're changing the platform name from x86[_-]86 to amd64. 2003-04-26 20:04:38 +00:00
obrien
741d72fa9b The AMD64 Hammer bits. 2003-04-26 03:28:21 +00:00
obrien
1c51e43ef7 Remove first attempt at x86-64 bits. We're going to call it "amd64" now.
Sponsored by:	Microsoft
2003-04-26 03:24:26 +00:00
obrien
e81e510595 Enable ISO-C99 compatibility -- among other things, this tells libstdc++
not to blindly undef isnan() and other functions that became macros in C99.
Enable use of newly grown C99 functions: strtof(), strtold(), wcstof()

Submitted by:	das
2003-04-25 21:17:31 +00:00
ru
58c00bf945 Removed invasion into these makefiles by the "legacy" stuff;
I have a better fix in the works.
2003-04-12 14:44:49 +00:00
ru
6db05cc9bb libbinutils.a needs basename(3); when the latter is provided
by -legacy, liblegacy.a should come last in the LDADD list.
2003-04-11 18:02:10 +00:00
imp
c8f6c4c47b Migrate to a new way of dealing with building from old revisions of
FreeBSD.  This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build).  We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files.  We then include this directory when building host binaries.

This removes all the past release compatibilty hacks from various
places in the tree.  We still build on tip of stable and current.  I
will work with those that want to support more, although I anticipate
it will just work.

Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
2003-04-05 20:30:30 +00:00
ru
a2cbe52412 Mark bits that do not require an object directory as such. 2003-04-01 12:37:54 +00:00
keramida
603919da7a Document the MAIL_AGENT environment var.
PR:		48277
Submitted by:	Stefan Walter <sw@gegenunendlich.de>
2003-03-26 01:45:20 +00:00
iedowse
8b8489eaed Attempt to automatically read in kernel module symbols when a live
or dead kernel core is loaded into gdb. This extends gdb's existing
shared library support, so the "info sharedlibrary", "sharedlibrary"
and "nosharedlibrary" commands can be used to view and change the
list of loaded symbol files.

The current implementation is more than a kludge however, and it
will not always manage to find the .ko.debug file corresponding to
the loaded module. In particular, for modules whose build directory
cannot be easily guessed from the module name such as all the
netgraph modules, the debug version of the .ko will not be found
automatically.

The logic for finding the module file first attempts to guess at
the module build directory by parsing the version[] string. Then
using that directory ($DIR), it tries the following paths in turn:

	./<module>.ko.debug		./<module>.ko
	$DIR/<module>.ko.debug		$DIR/<module>.ko
	/boot/kernel/<module>.ko.debug	/boot/kernel/<module>.ko

Approved by:	obrien, mp
2003-03-21 00:30:53 +00:00
des
0eda920b81 Shorten the URL to the problem-reports article. 2003-03-18 11:12:14 +00:00
marcel
ad5a9481d9 Forced non-forced commit by adding a comment mentioning what the
previous commit log should have mentioned:
PR: ia64/49081
2003-03-17 00:08:47 +00:00
marcel
e216e0d2e3 libobjc is linked against shared objects and since we don't have a
shared object of libobjc, we end up linking in from the archive
version. This is wrong, because we don't compile the archive version
suitable for inclusion in shared objects. On ia64 this causes actual
breakages. Compile the archive version with PIC on ia64 to avoid
the breakage there and also to avoid changing the status quo on
other architectures. If other architectures have the same problem,
we probably should start building a shared library. There's no
indication however that other architectures actually need it.

Building the archive version with PIC on ia64 does pessimize linking
complete binaries (ie fully archive), but we don't use Objective-C
ourselves and so far I haven't seen non-shared executables written
in Objective-C, so I'm sure this will be nothing but academic.

Trigger case: ports/lang/gnustep-base
2003-03-16 22:44:01 +00:00
ru
c48d942ead Only cross-tools may use TARGET_ARCH/TARGET, everyone else
should use the normal MACHINE_ARCH/MACHINE instead.
2003-02-27 09:19:31 +00:00
ru
6ca556abf4 Fixed CLEANFILES.
Submitted by:	cron
2003-02-25 15:41:49 +00:00
ru
47452b5ae8 Install the gcov(1) manpage; kernbb(8) references it. 2003-02-24 22:58:19 +00:00
ru
ccea72ce7b So we don't use this header anymore. 2003-02-24 22:57:06 +00:00
obrien
81beb97543 I thought groff was wrapped with NO_CXX. Oh well, it is now. 2003-02-24 02:40:56 +00:00
obrien
30731143fa Some things don't build for PowerPC yet.
List from:	benno
2003-02-21 02:30:51 +00:00
kan
ff731294e3 Update for GCC 3.2.2 2003-02-19 04:28:12 +00:00
ru
9588431cd2 Recognize FreeBSD 5.1; libc_gen/signbit.3 has set the precedent. 2003-02-14 16:01:58 +00:00
ru
ba1e7428eb Moved the libugidfw library definition out from contributed source
to where it actually belongs.

Submitted by:	phantom
2003-02-14 13:36:16 +00:00
phantom
d13dc88646 FreeBSD 5.x does not provide libskey anymore, remove reference 2003-02-13 18:23:13 +00:00
phantom
53bc599cad Add 'libgeom' to list of valid .Lb arguments 2003-02-13 18:21:32 +00:00
ache
591821672e Add /usr/local/man as OPTIONAL_MANPATH 2003-02-11 01:04:53 +00:00
nectar
b8b3bc3da7 Install the OpenSSL man pages in /usr/share/openssl/man
and remove the WANT_OPENSSL_MANPAGES knob.
2003-02-10 19:57:56 +00:00
kan
245f424a78 Install one more header file which is new with GCC 3.2.2. 2003-02-10 06:09:55 +00:00
peter
d16aa8b224 Finish update for cvs-1.11.5. Some build-time tunables were moved from
options.h to config.h.in and set via ./configure when built normally.
Export some of the build knobs to the Makefile here, overridable
from /etc/make.conf.  Also get the version strings right.
config.h was repocopied to config.h.proto, and we do a limited sed on it
at build time now.
2003-01-21 23:00:36 +00:00
peter
2a7e377632 Dont bother with unused rules for version.c 2003-01-21 22:31:07 +00:00
peter
e68b00dd9e Update for cvs-1.11.5 import (note to self: gotta fix the version tags) 2003-01-21 22:04:20 +00:00
obrien
6b865b252e The PowerPC-specfic scripttempl file was depreciated in favor of the generic
ELF one.
2003-01-21 06:12:56 +00:00
obrien
ad84c67011 Reformat. 2003-01-04 17:51:59 +00:00
obrien
c6430ec7fe Add the ability to debug C++ programs using v2 and v3 of the G++ ABI.
Submitted by:	Peter Edwards <pmedwards@eircom.net>
2003-01-04 17:51:48 +00:00
fjoe
ca4d1765ee GC 'char sigmap[]' (it is no longer used)
Approved by:	obrien
MFC after:	3 days
2003-01-04 17:35:54 +00:00
keramida
fae8d2d063 Make minimal changes to point the users to the Texinfo documentation
for more detailed information about sdiff(1).  Hopefully this will
make it easier to find how `interactive merging' works with sdiff.

PR:		docs/30618
Submitted by:	mark@summersault.com
2002-12-14 23:58:49 +00:00
ru
88d368906e Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +00:00
obrien
a8353e5631 We need to support the bfd_efi_app_ia64_vec vector for loader support.
Submitted by:	Marcel
Approved by:	RE
2002-12-05 18:27:22 +00:00
obrien
8614b9c720 Change the default emulation to elf64_sparc_fbsd. This emulation knows the
correct spelling of our rtld.
2002-12-05 18:25:09 +00:00
obrien
fa8491dd75 Set WARNS=0 as a temp work around until I can get access to an IA-64 box
to do this right.

Approved by:	RE
2002-12-05 18:24:34 +00:00
obrien
7af7629bdb Change the default emulation to elf64_ia64_fbsd. This knows the proper
spelling of our rtld.
2002-12-05 18:23:08 +00:00
obrien
940e1d9daa Don't dike out ELF_DYNAMIC_INTERPRETER, we need this copy now.
This should have been committed with ia64/bfd.h rev 1.6.

Approved by:	RE
2002-12-05 18:19:18 +00:00
kan
e3d47dc729 C++ exceptions with shared libraries are working on sparc64 now.
Build shared libstdc++so on sparc64 platform too.

Approved:	re (rwatson)
2002-12-05 17:04:03 +00:00
obrien
cc4616e03a Update for Gcc 3.2.1 release.
We also have more wide char support in libc now.
2002-12-04 17:47:34 +00:00
obrien
68a693cb40 Gperf is usable again. 2002-12-04 17:34:21 +00:00
peter
ea29ebbcc8 Sigh. Another wrong version string. However, this one isn't used in the
build.

Approved by: re
2002-12-04 00:07:15 +00:00
peter
d9ac604039 Oops. Use the correct version number. The number that was here was the
one that I originally used on freefall etc.

Approved by: re
2002-12-03 21:59:42 +00:00
obrien
273cc7c88b Remove the ancient PEI cruft that is useless. 2002-12-02 10:50:38 +00:00
obrien
3972bd11f7 We can handle the bfd_elf32_i386_vec vector at the same time as the
bfd_elf32_i386_freebsd_vec.  This may help in intra-branch building.
2002-12-02 10:01:18 +00:00
obrien
27380297b7 We can handle the bfd_elf64_alpha_vec vector at the same time as the
bfd_elf64_alpha_freebsd_vec.  This may help in intra-branch building.
2002-12-02 10:00:44 +00:00
obrien
4ae4f6ef0d Cleaner support of a DEFAULT_VECTOR. 2002-12-02 09:59:05 +00:00
obrien
232805fad9 Update for the Binutils 2.13.2 20021127 snapshot import. 2002-12-02 09:54:40 +00:00
obrien
c62ea7af9e Handle the "HAVE_" defines via the VECS list. 2002-12-02 09:53:59 +00:00
obrien
7016f28fd1 Update for the Binutils 2.13.2 20021127 snapshot import.
Among other things, we don't need to redefine ELF_DYNAMIC_INTERPRETER here.
2002-12-02 09:49:57 +00:00
obrien
4d867b7c30 Update for the Binutils 2.13.2 20021127 snapshot import. 2002-12-02 09:45:51 +00:00
obrien
b8aaca2943 We now have insque(). 2002-12-02 09:44:59 +00:00
obrien
f33fdfcaac Binutils 2.13.2 is WARNS=2 clean for all our architectures. 2002-12-02 09:41:35 +00:00
obrien
f72ff947fc Update for the 2.13.2 2002-11-27 snapshot import. 2002-12-02 09:40:02 +00:00
peter
5172b789df Update bmake glue after 1.11.2.1-20021201 import. options.h is no longer
touched by configure in the autoconf system and a standard version is
now used.

Approved by:    re
2002-12-02 03:20:25 +00:00
obrien
9f3828bbf5 Remove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.
Approved by:	re(jhb)
2002-11-27 18:52:04 +00:00
obrien
7eac41c2f2 Remove our custom mixed ELF/a.out support. This means the base compiler
now only produce ELF objects.  It also makes us closer to stock GCC, and
simplifies the set of changes we still need from stock GCC on every import.

Applauded by:	peter
Approved by:	re
2002-11-26 18:25:20 +00:00
ru
75beed43cd Catch up with The Great Perl Script Rewrite. 2002-11-18 10:25:27 +00:00
ru
cd20fe329e Install /usr/libexec/makewhatis.local and /usr/libexec/catman.local.
This has slipped through the cracks of The Great Perl Script Rewrite.

Repocopied by:	joe
2002-11-18 10:11:22 +00:00
ru
9f516c6032 Take __FreeBSD_version into account when BOOTSTRAPPING. 2002-11-13 13:49:29 +00:00
ru
840bf04e2a Bootstrapping aid for 4.0-RELEASE. 2002-11-13 11:50:40 +00:00
obrien
0df0d87ec3 Better emulate the FSF build for Sparc64. 2002-11-06 07:00:59 +00:00
kan
395f7c0e76 Build Objective-C runtime support library with thr-posix.c.
Submitted by:	davidc
Requested by:	obrien
2002-10-30 18:01:06 +00:00
ru
b72f870406 bsd.doc.mk changes:
Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS.

Only create _stamp.extra when necessary.

Get rid of SOELIMPP and OBJS.

Use Groff version of soelim(1); we need its -I option
for the following to work.

Don't needlessly chdir to SRCDIR.  Only a few documents
need CD_HACK, and those that need it either use refer(1)
or .PSPIC macro which internally uses the .psbb call.
2002-10-29 14:56:09 +00:00
kris
877eb20660 Don't dump core if none of the directories in /etc/manpath.config exist.
Submitted by:	terry
2002-10-27 02:12:52 +00:00
ru
17ed7bc039 A version of SGR disabling stuff that is believed to be safe.
Submitted by:	Werner LEMBERG <wl@gnu.org>
2002-10-24 11:05:58 +00:00
gallatin
23cc6f41f9 Remove the hack to build groff statically on alpha, now that the rtld
has been extended to grok binaries with only one PLT_LOAD segment

An UPDATING entry about this is pending review..

Approved by: ru
2002-10-23 21:28:52 +00:00
ru
11c2eea1c4 A crude temporary hack to fix building of ms(7) formatted documents
while I am working on a real fix.
2002-10-23 19:04:00 +00:00
mp
add8b3b94b Add support for sparc64 kernel debugging.
Submitted by:	tmm
2002-10-21 21:36:36 +00:00
ru
11a6d446f9 Grammar nits.
Submitted by:	Ken Stailey <kstailey@speakeasy.net>
2002-10-21 07:44:42 +00:00
obrien
2717916570 Make static in our normal manner.
Submitted by:	bde
2002-10-21 03:21:50 +00:00
obrien
3def0b2be4 Unbreak Alpha world.
We are seeing "/usr/libexec/ld-elf.so.1: groff: too few PT_LOAD segments",
however it appears that there really is only one PT_LOAD segment in the groff
binary.  It is unclear if `rtld' or `ld' is at fault here -- but using an
RELENG_4 `ld' binary allows one to build a working dynamic groff binary.

Submitted by:	gallatin
2002-10-21 00:26:48 +00:00
obrien
5a15905adb GDB 5.2.1 doesn't build on sparc64 right now. 2002-10-20 21:42:55 +00:00
obrien
89f460eed9 We HAVE_STPCPY now. 2002-10-20 07:50:20 +00:00
ru
3528a2ae54 Revert last delta. SGR support in grotty(1) is disabled system-wide
in /usr/share/tmac/troffrc pending the issue resolution on -arch.
2002-10-18 09:14:17 +00:00
obrien
959243d199 Take a guess at what WARNS level will make this compile on ia64. 2002-10-14 00:05:49 +00:00
ru
e50ad402bc Oops, missed that in rev. 1.35.
Spotted by:	make release
2002-10-13 12:22:57 +00:00
ru
68c3b03f05 Support FreeBSD versions starting from 4.0-RELEASE.
Reminded by:	imp
2002-10-13 08:36:16 +00:00
kris
e197a67ae9 Prevent stack-smashing buffer overflows in -D and -r options by using
buffer-safe string functions.  The rest of the code is still probably
unsafe.

MFC after:	1 week
2002-10-13 01:18:33 +00:00
mp
df865c749e Remove dependency on version.in for version information.
Submitted by:	obrien
2002-10-12 21:23:53 +00:00
kris
879097954d Disallow libdialog to be used in setugid applications; it is chock full
of buffer overflows.

MFC after:      3 days
2002-10-12 20:32:03 +00:00
mp
809928fb3e Fix function parameter lists to be correct and eliminate compiler warnings. 2002-10-12 18:08:44 +00:00
obrien
eb2f0199ff Update for 2.13 10-Oct-2002 import. 2002-10-12 04:38:20 +00:00
obrien
8d8a78e2b8 Update for 2.13 10-Oct-2002 import. 2002-10-12 04:24:35 +00:00
obrien
c6ec368c4a Shut up GCC, don't shadow Version 6 standard functions. 2002-10-12 04:06:13 +00:00
obrien
2adddd07b2 Talk about punting and not going to any trouble to DTRT:
contrib/binutils/include/getopt.h
	/* Many other libraries have conflicting prototypes for getopt, with
	   differences in the consts, in stdlib.h.  To avoid compilation
	   errors, only prototype getopt for the GNU C library.  */

so manually define HAVE_DECL_GETOPT since configure doesn't offer any way
to set it... and its unistd.h not stdlib.h dang it.
2002-10-12 03:55:09 +00:00
obrien
2acdc80521 Seems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
all 64-bit machines.
2002-10-12 03:04:42 +00:00
obrien
5556dda1a1 The 2.13-almost.1 import was done on 10/10, not 11/10. 2002-10-12 00:18:25 +00:00
obrien
fafec1cf25 Update for 2.13 10-Oct-2002 import. 2002-10-12 00:17:34 +00:00
obrien
af5f6ee9a4 GDB plays nice with Binutils again. 2002-10-11 20:23:06 +00:00
obrien
218ca75ecf Use the new FreeBSD vectors from Binutils 2.13.1. 2002-10-11 19:39:18 +00:00
obrien
17ad677da3 Binutils 2.13 grew some warnings that make WARNS != 0 now impossible on
sparc64.
2002-10-11 17:40:20 +00:00
obrien
7a90a7775e Turn off GDB for now. It and the new binutils just aren't agreeing on our
binary format.
2002-10-11 16:22:37 +00:00
ru
710f3f9392 New Russian hyphenation patterns from the teTeX distribution.
Use the new .hpfa request to append them to English patterns.
2002-10-11 12:20:02 +00:00
ru
5149ad10e3 This commit was generated by cvs2svn to compensate for changes in r104895,
which included commits to RCS files with non-trunk default branches.
2002-10-11 12:13:17 +00:00
ru
30c21c6586 Russian hyphenation patterns from teTeX. 2002-10-11 12:13:17 +00:00
ru
f6ad243dd9 koi8-r was repo-copied to ru.KOI8-R by joe@. 2002-10-11 11:00:51 +00:00
obrien
9d5e9075b9 Sync with 2.13. Reduce forking by using multiple sed expressions rather
than piping thru tr(1).  Also prefer case over for+test, as case will
handle regex's nicely.

Note we can't exactly follow the real 2.13 genscripts.sh as we wind up with
multiple "'s in search paths.  It is too late tonight to track down why.
2002-10-11 10:07:46 +00:00
obrien
712b9f3caa witch over to the new FreeBSD bfd vec and emulation 2002-10-11 09:36:20 +00:00
obrien
751673a843 Switch over to the new FreeBSD emulation and bfd vec 2002-10-11 09:31:55 +00:00
ru
5bdc86400b Groff 1.18.1 comes in with ANSI color support, enabled by default.
In "nroff" mode, italic font renders as an underlined text, which
makes it indistinguishable from the bold text on color monitors
(cons25 terminal type), yet it requires the less(1)'s -R option.
(Refer to the new grotty(1) manpage for details.)

So turn off the color support for now (when generating catpages),
until we figure out what do we do with this new feature.  I have
a patch for grotty(1) that tells it to use the "reverse video"
attribute to render the italic font.  Once this is accepted, we
can turn color support back on (if there won't be any objections
from the community).
2002-10-11 09:16:24 +00:00
ru
6aae430e4b Upgrade to Groff 1.18.1. 2002-10-11 08:58:14 +00:00
obrien
c87c9e4926 Yesterday was the 10th month of the year, not the 11st. 2002-10-11 08:40:19 +00:00
obrien
65cd863639 *sigh* The GNU folks want to layer and abstract yet another standard API.
This time remove the xregex redirection and just directly use their own
gnuregex.
2002-10-11 07:42:20 +00:00
obrien
87ea4a882d Really update for 2.13 10-Oct-2002 import. (this time for sure Rocky) 2002-10-11 06:48:16 +00:00
obrien
4f912d508a Update for 2.13 10-Oct-2002 import. 2002-10-11 06:28:05 +00:00
obrien
75e46a2f10 Update for 2.13 10-Oct-2002 import - Identify the version correctly 2002-10-11 06:23:02 +00:00
obrien
8e7ebebb82 Don't do WARNS setting here. 2002-10-11 06:20:41 +00:00
kan
b298325145 Add multilib_options variable definition.
Approved by:	obrien
2002-10-10 04:56:35 +00:00
ru
474e154d69 Print the OS name in the right place in the document title. 2002-10-09 08:51:52 +00:00
ru
08cff7df69 Added bzip2 variants to the NAME section.
Added missing break.
Remove the statement that -J requires zlib(3).
2002-10-07 09:08:07 +00:00
obrien
5abdc06a96 Allow -J to simultaneously do non-bzip2 grepping.
Don't allow -J and -Z together.

Partially submitted by:	knu
2002-10-06 07:02:30 +00:00
dd
e878dd082d choosen -> chosen
PR:		42962
Submitted by:	Scott D Friedemann <sdf@expertune.com>
2002-10-01 23:15:32 +00:00
ru
8a10b95c4d Pass our idea of a manpage's locale from man(1) down to mdoc(7). 2002-09-30 11:00:04 +00:00
ru
65c7505f25 French -mdoc localization.
Submitted by:	gioria
Reviewed by:	blackend, ru
2002-09-30 08:06:11 +00:00
ru
b9d035e290 libusb -> libusbhid did not reach here. 2002-09-30 07:54:49 +00:00
ru
f5e55e1609 FreeBSD 4.6, 4.6.2, 4.7 and 4.8 are now officially supported in -mdoc. 2002-09-30 07:51:46 +00:00
peter
8d8b96d08c Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00
markm
4a653255b2 Avoid linting GNU contrib'ed stuff, even if the build engineer asked
for it (via WANT_LINT). It's Just Too Noisy.
2002-09-25 09:55:20 +00:00
obrien
8793159e5b There is need to have a special BINUTIL_ARCH when we can use our more
common place TARGET_ARCH.
2002-09-22 05:29:37 +00:00
obrien
c972ce0c1e gdb now builds on sparc64. 2002-09-19 17:08:32 +00:00
obrien
1c86e16dc4 Fix GNU coding violations. 2002-09-18 16:20:49 +00:00
obrien
4d47d470ad Stop using 3 distinct and far varied coding styles in a single file.
Pretend to actually adhere to the GNU coding standards.
2002-09-18 16:14:36 +00:00
bde
00a7427d00 Re-axe. 2002-09-17 10:03:24 +00:00
bde
5fcefc2e91 Make `as' compile before it is axed. It still uses the archaic BSD
interface setbuffer(), and emulates setbuffer() on USG systems using a
#define of setbuffer() in terms of setvbuf().  The #define is correctly
ifdefed in some places but was not correctly ifdefed here -- i.e., BSD
was essentially configured as USG here.  This became fatal when <stdio.h>
was de-__P(())ified without testing.  This file gets included before
<stdio.h>, so the #define now affects (and breaks)
`setbuffer<left parentheses>' in <stdio.h> where it didn't affect
`setbuffer<whitespace>'.
2002-09-17 10:01:02 +00:00
bde
44658127b9 Un-axe this so that it can be fixed before it is axed. 2002-09-17 09:57:07 +00:00
kan
86311a41b2 Bmake bits for GCC 3.2.1-prerelease libstdc++.
Connect two new source and one header file to the build.

Approved by:	obrien
2002-09-17 04:23:29 +00:00
obrien
fdfd1b3e69 BANG! BANG! BANG! Put these bits out of their misery.
Murdered by members of:	a.out.die.die.die

ELF is the 1 true path now.  So make good on the src/Makefile threat that
building a.out will not be supported post 4.x.  These bits should either
resurface as a port, or a new port using the latest Binutils bits.  The
later will not support our SunOS-style shared a.out libs; but we shouldn't
need such support by this point in time.
2002-09-17 01:54:56 +00:00
peter
3c7c11fd3e Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
obrien
526f703651 Disable building of the a.out gas and ld. They will become ports. 2002-09-17 01:43:21 +00:00
obrien
f85cc3f751 Create bzgrep. 2002-09-16 04:27:29 +00:00
obrien
00f03738a2 We're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"
to make building GCC happy.
2002-09-12 15:56:21 +00:00
wollman
84692deb20 Quiet another annoying warning. 2002-09-09 17:44:08 +00:00
eric
3084725715 Adhere to guidelines when testing for null strings.
Submitted by:	rwatson
2002-09-03 17:39:26 +00:00
peter
8ffbaa1f43 cvs-1.11.2 seems to bug out if HAVE_MMAP is not defined. It hoses its
internal buffer management somehow (an off by one perhaps).  HAVE_MMAP
wasn't detected because configure has a bogus declaration of malloc
which conflicted with stdlib.h.  Sigh.
2002-09-02 11:35:13 +00:00
peter
c35534be8f version.h is now autogenerated in 1.11.2, not version.c 2002-09-02 06:00:09 +00:00
peter
37b2299728 Update for 1.11.1p1 -> 1.11.2 import 2002-09-02 05:59:33 +00:00
peter
80ecdcfc9c It seems CVSvn.texi isn't used anymore. 2002-09-02 05:59:02 +00:00
kan
779703f1cb Connect new files added with GCC 3.2.1 import to the build.
Approved by:	obrien
2002-09-01 21:21:56 +00:00
obrien
cc7628c3dc Update for 2.12.1 20-July-2002 import. 2002-09-01 18:03:55 +00:00
obrien
ca8d47fa84 Update for 2.12.1 20-July-2002 import. 2002-08-31 20:57:53 +00:00
keramida
b4d450cc94 Typo in [^[:alnum:]] character class.
PR:		docs/41728
Submitted by:	osgene@web.de
2002-08-31 02:26:19 +00:00
keramida
95a7d622d2 Our gnats sets Confidential to "no" by default.
PR:		docs/41727
Submitted by:	osgene@web.de
Reviewed by:	des
2002-08-29 22:59:22 +00:00
eric
9af19fee4a Use the default pager if the environment variable is blank.
PR:		37662
MFC after:	5 days
2002-08-27 09:31:27 +00:00
keramida
06908e0389 Document -p option of diff.
PR:		docs/41887
Submitted by:	tobez
2002-08-26 00:13:06 +00:00
ru
7f269139d1 Removed the (never-released) FreeBSD 4.6.1.
Inspired by:	bmah's commit to www/en/releases/4.6.1R
2002-08-14 16:57:14 +00:00
murray
04b10914a8 Add definition for FreeBSD 4.6.2. 2002-08-14 06:32:17 +00:00
ru
5ebb137010 mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
ru
8f6c4c0f03 can not -> cannot. 2002-08-13 14:10:36 +00:00
blackend
ba214902de Add PowerPC category.
PR:		docs/41595
Submitted by:	Christian Brueffer <chris@unixpages.org>
MFC after:	3 days
2002-08-13 10:30:55 +00:00
ru
ec2ac4f647 Added Russian translation of the .Ex -std macro.
MFC after:	3 days
2002-08-07 17:47:24 +00:00
ru
e287643099 POSIX.1-2001 says ``man -k'' should produce results equivalent to
the ``grep -Ei'' searching.

MFC after:	3 days
2002-08-07 17:39:35 +00:00
ru
34de99cd26 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
peter
d85800c78b Recognize frames for lcall_syscall and int0x80_syscall.
Reminded by:	bde
2002-07-28 18:46:49 +00:00
ru
0438f8a407 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
ru
3abe987862 Move the definition of FreeBSD 4.6 back to where it belongs. 2002-07-18 09:32:15 +00:00
murray
ac8e8eb71c Add definition for FreeBSD 4.6.1. 2002-07-18 09:22:33 +00:00
mike
eeb1b20f60 This isn't quite ready for WARNS=3 in the sparc64 case.
Noticed by:	sparc64 tinderbox
2002-07-16 16:10:39 +00:00
charnier
31f74328c4 The .Nm utility 2002-07-14 15:12:00 +00:00
keramida
f6fa77d3af Add note about the info documentation of diff(1).
It contains a detailed description of the =format option part.

PR:		docs/36464
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-07-11 21:11:26 +00:00
keramida
efec630a5d Mention zegrep and zfgrep too,
and what their equivalent grep options are.

PR:		docs/35603
Submitted by:	"Gary W. Swearingen" <swear@blarg.net>
2002-07-11 20:12:15 +00:00
obrien
c81428ffa3 Make our i386 hacks in a less vendor file disturbing manner. 2002-07-10 07:48:45 +00:00
obrien
2ea898a329 Stop trying to reimplement libkvm on i386. Instead use it directly and
consistently on all platforms.

Submitted by:	gallatin
2002-07-10 06:58:25 +00:00
obrien
9994304c5e Target specific FreeBSD kgdb hacks. 2002-07-10 06:40:03 +00:00
sheldonh
9e522c78c3 Revert previous delta; warnings fixed by obrien:
rev 1.5		rc/contrib/gdb/gdb/gdbserver/gdbreplay.c
2002-07-09 17:29:37 +00:00
sheldonh
bb693c6532 Define NO_WERROR to unbreak world until the maintainer has had time
to coordinate fixes for this contrib code.
2002-07-09 08:37:36 +00:00
peter
a96c9b5421 Bandaid for sparc64. Do not build libstdc++.so for now on sparc64.
Binaries compiled with it segfault.
2002-07-08 10:53:35 +00:00
ru
e2d0f4cfab Add the missing dependency (gdbint.info: gdb-cfg.texi).
This should resume parallel builds, among other things.
2002-07-04 11:33:59 +00:00
ru
a1d5149e30 Fixed CLEANFILES. 2002-07-04 07:15:31 +00:00
des
93c9e4b908 Add the "java" category. 2002-07-03 00:35:09 +00:00
sheldonh
e294746e76 Reconnect gdb info file to the build.
Submitted by:	Szilveszter Adam <sziszi@bsd.hu>
2002-07-01 07:58:18 +00:00
obrien
e5a6bcbbb2 Don't need these any more. 2002-06-30 05:29:43 +00:00
obrien
da41028839 Dike out bits specific to i386. This pretty much means no kgdb for
non-i386 platforms.

I would however like to see a shared file here.  If a function or two cannot
be shared we should create ${TARGET_ARCH}/kvm-fbsd-${TARGET_ARCH}.c.
2002-06-30 04:47:43 +00:00
obrien
1adede098d Bmake bits for GDB 5.2. 2002-06-30 03:24:05 +00:00
mp
4726521101 Reflect new gdb directory structure. 2002-06-29 18:19:53 +00:00
obrien
977249d854 I don't see any reason to conditionalize this. 2002-06-29 17:55:17 +00:00
obrien
11484ccb05 Bmake bits for GDB 5.2. 2002-06-29 16:52:15 +00:00
obrien
b7468a7aa6 Turn back on GDB.
gdbserver does not build, but I've gone about as far with GDB as I'm going
to right now.
2002-06-29 03:19:35 +00:00
obrien
6d18959306 Best guess at configurations for our other arches. (totally untested) 2002-06-29 03:18:28 +00:00
obrien
bccc48ed13 Allow to compile and at least startup on sparc64. 2002-06-29 03:16:40 +00:00
obrien
5b08ca4067 Bmake bits for GDB 5.2. 2002-06-29 01:16:01 +00:00
obrien
a57f7e9c1b There will be no GDB related .info files unless someone that cares about them
sends a patch.
2002-06-28 03:41:56 +00:00
obrien
9bd49da95a NO! We DON'T wany any libintl action here. 2002-06-28 01:33:53 +00:00
obrien
96be091157 Things Gdb 5.2 wants to know about us. 2002-06-28 00:34:05 +00:00
obrien
2a2dc51a0f NO_GDB while it is being upgraded. 2002-06-27 22:59:11 +00:00
eric
06ccdcb153 Correctly state the size of the help message.
Sponsored by: Apple
2002-06-24 20:57:44 +00:00
obrien
c9a4b1a696 For the benefit of those Emacs users amongst us, only cut out gdb.info
rather than *.info.
2002-06-22 17:10:53 +00:00
obrien
869675f0d7 When linking staticaly libtermcap is a postrequisite of libreadline.
Otherwise `tgoto' (only used by libreadline) isn't resolved.

Submitted by:	bde
2002-06-22 17:07:45 +00:00
obrien
b00a523877 Take the guaranteed fix -- turn off .info docs for now until we get the
gdb docs sorted out.
2002-06-22 16:52:34 +00:00
obrien
dbdad315d7 Grre-^#$(*+#@$!@% I hate .info files, I really do (thus I have NO_INFO set...)
Don't try to read files from a non-existant gdb.291/.
2002-06-22 08:08:51 +00:00
obrien
21d33c60ee We need to link with libiberty.a before libreadline.so. Both supply
xmalloc() and xrealloc() and the mixed usage of xmalloc in some .c's from
libiberty.a and other .c's from libreadline.so produces an unusable binary
on the Alpha.

While I am here, preventatively move other libs in the link order.

Submitted by:	gallatin
2002-06-21 19:05:20 +00:00
obrien
50073f7f07 Remove GAWK. I removed it from the build 2 weeks ago and the world
did not end.  So finish the deed.
2002-06-20 20:54:54 +00:00
obrien
79d77ee2d0 Disconnect the docs until we figure out if there are any with v3. 2002-06-19 05:38:45 +00:00
dougb
07163fc999 Teach mdoc about the 4.6 release 2002-06-18 00:41:47 +00:00
dougb
b8d6bb9510 In addition to exiting the dialog via ESC, the user could also have
exited via \r, \n, or ' ' (space); all of which are valid,
non-error responses.
2002-06-13 23:39:35 +00:00
obrien
2ea4410c3a Allow one to profile FORTRAN77 programs. 2002-06-09 00:03:56 +00:00
obrien
3ada71e5e9 Restore revision 1.15 (use profiled C++ libs) which wasn't on the WIP_GCC31
branch and thus was lost in the shuffle on the move to Gcc 3.1.
2002-06-08 19:58:31 +00:00
obrien
76c0185a05 Fix compiling FORTRAN77 programs. 2002-06-08 18:48:40 +00:00
ache
d083e24f35 Activate new GNU sort from contrib 2002-06-08 10:34:12 +00:00
obrien
f97a628f38 Read specs from /usr/libdata/gcc/specs if it exists. 2002-06-06 03:47:02 +00:00
obrien
0e6fa78891 The best we can do about man pages for the moment. 2002-06-05 21:30:46 +00:00
obrien
7a99f7ead0 We haven't used this libg++ header since 1999/04/05 05:36:37. 2002-06-05 17:02:37 +00:00
obrien
9356dd19a3 Search the "backward" C++ compatibility include dir also. 2002-06-05 16:10:59 +00:00
obrien
d38be2df22 We don't need bsd.dep.mk here. 2002-06-05 15:40:39 +00:00