Commit Graph

2046 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav
7105f09c38 Revert part of previous commit and initialize locale_nroff to " -Tascii"
so man(1) works properly when no locale is set.

Spotted by:	bde
2001-01-28 20:17:14 +00:00
Dag-Erling Smørgrav
0448bdfcb8 Make an effort to actually pass the correct device to groff. 2001-01-27 19:17:40 +00:00
Jake Burkholder
aa17032fcb - Add #defines for the symbol names of the kernel interrupt, system
call and trap entry points so they're easy to find and change
- Use the cpuhead and allcpu list to locate globaldata for the current
  cpu, rather than SMP_prvspace or __globaldata
- Use offsets into struct globaldata directly to find per-cpu variables,
  rather than symbols in globals.o

Glanced at by:	peter
2001-01-10 18:15:25 +00:00
Nick Hibma
6a75465ff3 Assume that the submitter knows what he is doing and order the
suggested actions accordingly. S)end should be the first one.
2001-01-07 18:42:28 +00:00
Peter Wemm
57a0ee63f0 Fix gdb -k after jake's most recent commit. The gd_XXX symbols are now
offsets in all cases, and we have to find the base address (&__globaldata)
ourselves for the UP case as well as SMP.
2001-01-07 05:08:39 +00:00
David E. O'Brien
3f6014e672 Use a unified libgcc rather than a seperate one for threaded and
non-threaded programs.  This provides threaded programs with the
needed exception frame symbols.

parts submitted by:	Max Khon <fjoe@iclub.nsu.ru>
PR:	23252
2001-01-06 06:16:31 +00:00
David E. O'Brien
766a31af14 The preprocessor used by the cc' driver is now named ccp0' to make it
clear this is the 1st pass of compilation and to make clear this particular
cpp is for `cc's use only.
2001-01-04 02:16:23 +00:00
David E. O'Brien
29931e8454 s/rsa0/sa0/g 2001-01-01 19:50:48 +00:00
Poul-Henning Kamp
3281461493 Use macro API to <sys/queue.h>
Submitted by:	Dima Dorfman <dima@unixfreak.org>
Reviewed by:	phk
2000-12-31 11:22:42 +00:00
Ruslan Ermilov
1c232e52cd Prepare for mdoc(7)NG. 2000-12-27 13:59:17 +00:00
Joerg Wunsch
4a24038b4c Fix an annoying message ``gdb: ptrace(PT_GETDBREGS) failed: No such process''
when using gdb on a remote target.  The fix is to restrict PT_GETDBREGS
calls to `child' and `freebsd-uthreads' targets solely.

I've been in some conversation with Brian about this, and this solution
seems to be the most appropriate one.

PR:		gnu/21685
Submitted by:	bsd
2000-12-26 20:38:46 +00:00
David E. O'Brien
86392d361e Add these files that were used from contrib/gcc/. They are taken from
GCC 2.7.2.3 as that was the version of GCC in active use before the switch
to ELF.
The GCC 2.9[67] versions of these files carry more baggage and I'm not sure
the are appropriate for this linker.
2000-12-26 10:20:22 +00:00
Ruslan Ermilov
b7b6d48965 mdoc(7) police: formatting fixes. 2000-12-25 09:08:44 +00:00
David E. O'Brien
d6e3a23dbc Clean up the -j/-y/--bzip entry in usage().
Add the -U and --unlink-first options which are the offical verions of our
--unlink localism.
Add support for the "TAR_OPTIONS" environmental variable.

Obtained from:	GNU tar 1.13.18
2000-12-24 10:52:23 +00:00
David E. O'Brien
3d0dea2a75 Add -j as the offical "pipe thru bzip2 compression program" option.
Make -I equivalent to -T for compatiblity with Solaris.

Obtained from:	GNU tar 1.13.18
2000-12-24 10:19:55 +00:00
David E. O'Brien
b811816356 Add `gcov' to the mix.
Requested by:	David Malone <dwmalone@maths.tcd.ie>
PR:	18574
2000-12-23 19:49:28 +00:00
Ruslan Ermilov
36fd98fad4 Teach man(1) how to look inside compressed manuals
for preprocessor directives.  Avoid use of cat(1).

PR:		bin/23585
2000-12-22 19:05:13 +00:00
David E. O'Brien
1ba16c630e Update the date of last change.
Submitted by:	ru
2000-12-22 18:56:41 +00:00
David E. O'Brien
8e676d4297 Add the -bzip and -I flags as aliases for -y for Red Hat compatibility. 2000-12-22 11:25:18 +00:00
David E. O'Brien
95f3f78cbe Our OS name is "freebsd", not "freebsdelf". 2000-12-15 20:11:28 +00:00
David E. O'Brien
4979e034c1 Only build the a.out as' and ld' if "WANT_AOUT" is defined.
Looking in src/Makfile* it looks like all the "WANT_AOUT" support
has been removed, maybe these should just go away...

Note that the a.out `ld' reaches over into src/contrib/gcc for libiberty
bits.  This is biting us because the libiberty bits have evolved beyond
what the a.out `ld' can handle.

This change fixes the broken world, but only because very few have
"WANT_AOUT" defined.
2000-12-15 19:49:28 +00:00
Ruslan Ermilov
886539482d mdoc(7) police: removed history info from the .Os call. 2000-12-14 11:40:41 +00:00
Ruslan Ermilov
ced1e16b18 This file was not regenerated for the latest import, thus the
reported grep version is wrong.  The correct version is 2.4d.
2000-12-13 15:54:14 +00:00
John Baldwin
65e26c5e18 Catch up to the new kinfo_proc. 2000-12-12 23:21:24 +00:00
Ruslan Ermilov
a2fd3702a3 mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:15:20 +00:00
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Ruslan Ermilov
4c5804ea54 Install the stock (as supplied by groff(1) distribution) tmac.an
and tmac.andoc files.  The man(1), catman(1) and bsd.man.mk have
been modified to call groff(1) with -mandoc argument.
2000-12-06 17:02:33 +00:00
Ruslan Ermilov
d6d2925b93 Build and install groff(1) texinfo(1) documentation. 2000-12-06 12:17:01 +00:00
Ruslan Ermilov
8124b9de5d Hmm, font `L' is still used in old Sun docs. 2000-12-06 11:25:33 +00:00
Ruslan Ermilov
5914bd4e55 Font L' is not needed for BSD docs, but some use font CW'. 2000-12-06 09:01:07 +00:00
Ruslan Ermilov
0727d1b5ba Fixed device files building procedure. This makes
it possible to ``make all install'' in one pass.
2000-12-06 08:35:46 +00:00
Ruslan Ermilov
ebc20f71ea Upgrade to version 1.16.1. 2000-12-05 19:15:36 +00:00
Ruslan Ermilov
b132656a0f Fixed manpage building. 2000-12-05 08:10:27 +00:00
David E. O'Brien
6e51951114 tm.h should include the platform specific ELF header if it exists. 2000-12-03 00:11:19 +00:00
David E. O'Brien
2c5569d6ff The GCC 2.96 snapshots have slightly different rules for finding include
files.  Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive.  Some were
misspellings of "-I${.CURDIR}" as "-I.".
2000-12-01 09:39:28 +00:00
David E. O'Brien
3726c08892 Deal with a real PITA in that GDB 4.18 (as we imported it) requires a
`wait.h' that was in contrib/binutils/, however this wait.h went away with
bintuils 2.10.0 so I `cvs rm'ed it.  Now we find gdb will not build.  This
binutils wait.h contained nothing we didn't already have in <sys/wait.h>.
So just hack a symlink to it.
2000-11-25 13:59:49 +00:00
David E. O'Brien
5ce16708c7 stringify.sed' has been replaced by astring.sed' [on ANSI-C systems]. 2000-11-25 13:56:28 +00:00
Ruslan Ermilov
725ab6287f log 2000-11-22 09:23:54 +00:00
Robert Nordier
a91d357884 Typo police. 2000-11-20 20:37:49 +00:00
Ruslan Ermilov
3450dff7f1 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 12:18:54 +00:00
Marcel Moolenaar
ad879ce955 Fix cross-building.
o  Move building libperl and miniperl from build-tools to
   cross-tools. libperl uses MACHINE_ARCH to determine the
   right configuration, which doesn't match the build
   machine when cross-building if they are built as build-
   tools.
o  Since miniperl needs to be built as a cross-tool, it
   needs to be installed under /usr/obj so that it can be
   used (cross-tools have a special object directory to
   avoid build conflicts. As a downside, you can't easily
   run cross-tools from their object directory). Remove
   the install and distribute override targets. To avoid
   having miniperl installed by installworld, remove it
   from SUBDIR.
o  We can't pickup miniperl from the object directory but
   since it's installed, depend on PATH. This is save,
   because the makefiles are run with a known path.
o  Build libperl again as part of the library target. A
   _libperl variable existed, but it was never defined.
o  Add chmod to the list of saved tools, because perl
   conditionally uses it during install.

The bootstrap-tools and cross-tools targets are modified to
avoid building profiled and shared libraries. While here,
have these targets build static binaries instead of shared
binaries.

Approved by: markm
2000-11-20 02:17:34 +00:00
Kris Kennaway
7db4903d42 Use mktemp -t to respect TMPDIR
Clean up temporary file at runtime
2000-11-19 13:10:11 +00:00
David E. O'Brien
72b5e8cc9f Correct the Bintuils src path from the debugging version I accidently
committed.
2000-11-15 22:05:00 +00:00
David E. O'Brien
04f9b2d551 Upgrade to Binutils 2.10.1. 2000-11-15 21:29:55 +00:00
Ruslan Ermilov
b5c508fba3 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
David E. O'Brien
a7bf21bf6c Build and install the useful `readelf' util that is new with Binutils 2.10.0. 2000-11-13 09:47:31 +00:00
Kris Kennaway
907cafdad7 Create temporary filenames securely, don't just number them sequentially.
Audited by:	eivind, freebsd-audit
2000-11-11 00:18:04 +00:00
David E. O'Brien
77765d0b13 Add comment about a requirement in using a 64-bit `long' on i386. 2000-11-10 16:56:38 +00:00
David E. O'Brien
a5f3753fed Link with libgcc_pic when building shared objects.
(note we should not just use GCC's default LIBGCC_SPEC as it doesn't use
the PIC version when linking shared)

Recomended by:	jdp
PR:	21983
2000-11-10 16:54:45 +00:00
Daniel Eischen
ed21d82204 Sync gdb thread support with recent changes to the threads library.
Approved by:	obrien
2000-11-10 00:36:01 +00:00
David E. O'Brien
7472e09468 Found remaining -kthread option that [sort of] supported using the
LinuxThreads port.  Dike it out as it was removed from freebsd.h on
19-July-2000 as this option depended on bits not part of the base system
and required people to install the LinuxThreads port in a manner
non-consistent with the workings of our Ports Collection.

Requested by:	jasone
2000-11-09 15:50:22 +00:00
Vanilla I. Shu
32449e4f80 Change "PERL_THREADED=yes" to "PERL_THREADED=true". 2000-10-30 04:52:33 +00:00
Vanilla I. Shu
b5ccf8460b Add suffix "-thread" to archname when perl with thread support.
Approved by:	markm
2000-10-30 03:27:06 +00:00
Steve Price
fa99586d3a Add two new classes of problem reports primarily for the Ports Collection:
- update: For submitting non-maintainer updates/changes
	- maintainer-update: For submitting maintainer updates/changes

The intent is to make it easier to spot maintainer sactioned or submitted
updates to ports though it might also be useful for userland code that is
maintained by someone that is not a FreeBSD committer.

Submitted by:	nbm and many others
2000-10-29 22:11:39 +00:00
Steve Price
0da088c1e6 Update to version 3.113. Major changes were to incorporate FreeBSD-
specific changes into the original distribution (although sometimes
with a slightly different approach) and to add two commandline
options to send-pr(1):

	-c	which allows you to specify an address to CC this
		PR to
	-s	allow the severity to be specified on the commandline

PR:		17922
2000-10-29 22:05:52 +00:00
Brian Somers
0d8188ce22 Include sys/types.h 2000-10-16 07:11:30 +00:00
Daniel Eischen
7c021a1090 Adjust to reflect recent changes in the internal layout of a struct
pthread in libc_r.

Reviewed by:	dfr
2000-10-13 22:15:19 +00:00
David E. O'Brien
d8504df28b Style tweaks. 2000-10-13 12:22:47 +00:00
Peter Wemm
24d68d0966 Regenerated. There are a bunch of changes from this round of ./configure
but none of them are used or make any difference (at least in the FreeBSD
version).
2000-10-02 07:27:50 +00:00
Peter Wemm
6cd729e985 Stop the freebsd hardwired version of send-pr from requesting
submitter-id's and try and stop people sending 'Confidential: yes' PRs.
The gnats database is public.
2000-09-25 19:37:55 +00:00
Ruslan Ermilov
05afaf4b47 Removed files not present in v1_15 import. 2000-09-22 10:05:18 +00:00
Andrey A. Chernov
68560dc2ad Spelling fixes
Submitted by:	"Peter Avalos" <pavalos@theshell.com>
2000-09-17 11:06:38 +00:00
Andrey A. Chernov
22ed5ae46b Remove unneded -lmytinfo 2000-09-16 04:27:30 +00:00
Mark Murray
c0329b1af3 Gosh. I managed to commit the wrong version of this file. Darn;
I must remember not to do that again.

(This fixes broken install and distribute targets)
2000-09-15 06:14:02 +00:00
Mark Murray
8680b887a2 Silence the perl build a lot; particularly in the case where a
"make all" is being done on top of a "make buildworld", and nothing
needs making.

Asked for by:	jkh
2000-09-14 19:58:07 +00:00
Mark Murray
116d5cd80d Fixes and cleanups to the perl build; don't error out when NOCLEAN is
set and directories are being (re)made; build the procname ($0) stuff,
don't install miniperl.
(Miniperl needs a revisit).
2000-08-20 10:03:26 +00:00
Mark Murray
5f5780887e Silence -Wall; main()'s second argument was "unsigned char **",
and this had filtered down into too many other places.
2000-08-19 11:45:18 +00:00
Joerg Wunsch
22c68d23f5 Implement the GDB counterpart to use hardware watchpoints in connection
with Brian's kernel support for i386 debug registers.  This makes
watchpoints actually usable for real-life problems.  Note: you can
only set watchpoints on 1-, 2- or 4-byte locations, gdb automatically
falls back to [sloooow] software watchpoints when attempting to use
them on variables which don't fit into this category.  To circumvent
this, one can use the following hack:

watch *(int *)0x<some address>

David O'Brien is IMHO considering to get this fully integrated into the
official GDB, but as long as we've got the i386/* files sitting around
in our private FreeBSD tree here, the feature can now be tested more
extensively, so i'm committing this for the time being.

This work has been done in order to debug a tix toolkit problem, thus
it has been sponsored by teh Deutsche Post AG.

Reviewed by:	bsd (not the operating system, but Brian :-)
2000-08-17 16:27:26 +00:00
Sheldon Hearn
ec42c30332 Update for the newly-updated gawk-3.0.6. 2000-08-15 10:47:38 +00:00
Sheldon Hearn
29fee37e7f Update for the newly-updated gawk-3.0.6. 2000-08-15 10:31:12 +00:00
Warner Losh
9a88e86cbe Always build and install suidperl. Only install suidperl setuid when
ENABLE_SUIDPERL is set to true.  When perl is updated to remove the
fork mail code, additional warnings will enable the users to know what
is gonig on and how to correct it.  Markm will make those commits as
part of his perl patch integration.  suidperl is installed with
execute permissions so that markm's added error messages wil be seen
by the user.
2000-08-13 01:40:06 +00:00
Warner Losh
47945ade89 Don't build suidperl by default. Make users specifically enable its
building.
2000-08-10 22:59:53 +00:00
Kelly Yancey
d2d11ded0f Fix previous commit such that only -S/--skip ignores errors when applying
a patch, returning -f/--force and -t/--batch to their previous semantics.

Pointed out by:	asami
2000-08-02 22:31:34 +00:00
Kelly Yancey
d1b04ce6b7 Fix patch such that skipping files does not count as a failure.
Previously, using -S/--skip, -f/--force, or -t/--batch to skip a patch in
a patchset still registers a failure which causes patch to return a
non-zero exit code. This is particularly undesirable with regards to
ports as there is no way to ignore the non-zero code. (Luckily, we don't
currently have any ports that make use of any of these options.)

The PR (yes, my own) is slightly incorrect: It states that -f does indeed
properly skip patches. It does, but it still sets the failure flag causing
patch to return non-zero.

PR:		19638
Submitted by:	kbyanc@posi.net
2000-08-02 06:54:21 +00:00
Brian Feldman
63ec88f55f Make style match the surrounding style. Use memset() instead of bzero()
because it's standard (bah, show me a real system without bzero()...)

Noted by:	bde
2000-07-31 23:36:08 +00:00
Kris Kennaway
1909961a9b Fix a bug in keyed sorting due to malloc abuse.
Submitted by:	green
2000-07-31 21:37:29 +00:00
Kris Kennaway
4aa5387491 Don't call fprintf() without a format string. 2000-07-12 00:59:32 +00:00
David E. O'Brien
b4720b889e Install the general binutils (such as `nm') info files.
Patch submitted by:	nbm
PR:	16585
Submitted by:	Assar Westerlund <assar@sics.se>
2000-07-10 09:55:29 +00:00
Sheldon Hearn
8c24e2aa35 Correct the usage printed for --exclude, which takes a globbing pattern
and not a file name.

PR:		19698
Reported by:	Jeff Blaine <jblaine@mitre.org>
2000-07-05 10:31:16 +00:00
Mark Murray
a522c2bad9 Perl's version number needs upating. 2000-07-02 16:10:45 +00:00
Mark Murray
b463622b82 Bunch-o'-tweaks.
1) (Biggest) I tried long-and-hard to keep the version number (5.006)
   backwards compatible with FreeBSD; I have lost this battle, and
   must defer to the Perl convention (5.6.0). Victims include suidperl.
   this means that dirs with a name of 5.006 will be replaced with
   dirs named 5.6.0 in both /usr/libdata/perl  and /usr/local/lib/perl.

2) Errno module is added.

3) Alpha bits extensively tweeked after a Beast-build.

Other commits to follow.
2000-07-02 15:45:05 +00:00
Andrey A. Chernov
f8ca1b7655 Fix manpath for new perl 2000-07-02 03:17:31 +00:00
Peter Wemm
f1cfac6222 Fix the perl build on the Alpha. int32 is 'int' not 'long'. int64 is
'long', not 'long long'.  Maybe the intXX_t types should have been used.
2000-06-30 11:22:19 +00:00
Mark Murray
8bea8d9daa Tweaks to the build to allow "make -DNOCLEAN" and "make release" to
work.
2000-06-29 18:21:51 +00:00
Mark Murray
a67bcabd14 Fix the upgrade-build case. 2000-06-27 15:28:14 +00:00
Mark Murray
609108d899 Fix for bootstrapping. Grr. Pointy Hat Please? 2000-06-26 15:02:10 +00:00
Mark Murray
608677bb6e Thread support for v5.6.0 2000-06-26 10:20:57 +00:00
Mark Murray
9bbc1ad14d Userland build stuff for Perl5.006.
This is cleaned up quite a lot since 5.00502, and the library modules
are broken out into individual dirs. This should please a lot folk.
2000-06-25 14:48:20 +00:00
Alexander Langer
12646d6c2c /etc/weekly -> /etc/periodic/weekly/320.whatis
PR:		19272
Submitted by:	Uwe Pierau <uwe.pierau@tu-clausthal.de>
2000-06-20 10:41:01 +00:00
David E. O'Brien
ddad85161d We are now at version 2.10 release. 2000-06-20 06:19:15 +00:00
Andrey A. Chernov
8db63bde5b Remove libxpg4 2000-06-04 23:16:14 +00:00
David E. O'Brien
c8a1d5ccc3 Scoot things over to the temporary *.295 source while I do major construction
on the mainline sources.
2000-06-04 06:56:23 +00:00
Ruslan Ermilov
17cbfdc259 Restore backwards compatible -R option.
Broken in revision 1.17.

Noticed by:	hoek
2000-05-30 10:50:15 +00:00
Jake Burkholder
e39756439c Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by:		msmith and others
2000-05-26 02:09:24 +00:00
David E. O'Brien
8e5f64732b Move c-decl.c out of the common libcc_int.a into the binary Makefiles
where it is used.  c-decl has symbols that conflict with several of the
cc1plus sources.

GNU `ld' was changed in Dec 1999 to be more be compatable with the way that
other linkers work (specifically in the Solaris linker).  The 2.9.1 `ld',
did the Wrong Thing in that if a library contained a common symbol that
matched a definition of that symbol in another (already linked in object)
it would also be linked in, even if there was no other reason to do so.
This is wrong.  The library should only be linked in if it contains
non-common, non-weak symbols which are needed by previously linked in
objects.
2000-05-24 20:02:21 +00:00
Steve Price
8e47c536c2 Don't allow people to create new PRs with a 'wish' class.
Requested by:	Sheldon Hearn <sheldonh@uunet.co.za>
2000-05-24 14:40:25 +00:00
Jake Burkholder
740a1973a6 Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by:	phk
Reviewed by:	phk
Approved by:	mdodd
2000-05-23 20:41:01 +00:00
David E. O'Brien
bacaa92f40 Updated 2.10 headers. 2000-05-22 08:40:17 +00:00
David E. O'Brien
e22c5813c4 Tweaks to match those done in the Binutils mainline code. 2000-05-22 08:33:03 +00:00
David E. O'Brien
b6c2cab2dc version 2.10 config file. 2000-05-22 08:26:10 +00:00
David E. O'Brien
7994fa95cd Conditionally define "CROSS_COMPILE" here. 2000-05-22 08:25:40 +00:00
David E. O'Brien
7f3d7f20f8 Pull the switch and activate our Binutils to a snapshot of the up and
comming 2.10 release.
2000-05-22 08:09:42 +00:00
Tim Vanderhoek
87db9ff6f8 Once again fix substitution of TMAC_M and TMAC_S_PREFIX in manpages.
PR:		bin/5693 docs/9352
2000-05-21 02:49:14 +00:00
David E. O'Brien
56d2e40e38 callback.c is not really used, nor is it part of GDB 4.18. 2000-05-17 19:30:59 +00:00
Bruce Evans
88287e1a2d Don't forget to clean "grog".
Don't use MANDEPEND.  It hasn't had anything to do with dependencies for
5-6 years, but is still being used, mainly in groff/*/Makefile, where it
amounts to just a macro giving the list of generated man pages.  Since
all man pages in groff are generated (from .man to .[1-9]), it's simpler
to use the source names ({$MANX}) to give the list.

Fixed some other style bugs.
2000-05-15 14:41:28 +00:00
Bruce Evans
b323234ba7 Don't forget to clean f77.1.
Don't use "+=" for variables that are only set once.
2000-05-15 14:21:38 +00:00
David E. O'Brien
076c80b287 Use a alternate side 2.9.1 source tree while upgrading Binutils. 2000-05-12 22:55:23 +00:00
Alexey Zelkin
4a06bf7d45 mdoc cleanup: use .Nm macro correctly, don't non mdoc macro 2000-05-10 13:43:36 +00:00
Kris Kennaway
42bfb5ed40 Update device references. 2000-05-07 09:23:36 +00:00
Nik Clayton
64b74cc439 Only set $MAIL_AGENT if it isn't already defined in the environment.
No idea why this was sent in as a docs bug. . .

PR:             docs/17014
Submitted by:   Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-04-30 22:48:49 +00:00
Doug Rabson
a052d1ca88 Add support for debugging programs using libc_r's implementation of
pthreads.
2000-04-29 09:03:49 +00:00
Steve Price
c38a7d5ebf Add a new wishlist category. 2000-04-18 15:03:34 +00:00
David E. O'Brien
539aabcb54 Perl lib configuration for IA-64 (along with PPC and arm32) 2000-04-17 19:44:57 +00:00
Steve Price
2b3c840334 Add sparcnetbsd support and cleanup style so that this looks nearly
identical to Makefile.sparc.
2000-04-16 23:42:25 +00:00
Steve Price
e3163f8ce0 Fix a typo (aout32.o -> aout32.c). Add support for NetBSD/Sparc and
sparc64.
2000-04-16 23:39:46 +00:00
Steve Price
71ed47edd8 Add a config.SH for the sparc and sparc64 ports. The ones for the sparc64
might need some adjusting for the size of long long and long double.

Reviewed and approved by:	markm
2000-04-16 16:51:44 +00:00
Sheldon Hearn
44b20bdb13 The MANSECT environment variable was misrepresented as MANSEC. Fixed.
PR:		17745
Submitted by:	nordwick@askjeeves.com (Jason "Just Change It" Nordwick)
2000-04-05 13:57:46 +00:00
Gary Jennejohn
f367e39024 Add a '+' to the first LDADD, otherwise it clobbers the LDADD in
Makefile.alpha such that the -lkvm disappears and the link fails.

This time I tested it, honest :)
2000-04-04 11:12:55 +00:00
Sheldon Hearn
26d052cf1c Fix unsafe tempfile creation. This file is already off the vendor
branch.  Although this problem has been reported to the GNU folks,
it's unlikely that any solution they may come up with will involve
the use of mktemp(1).

PR:		16942
Submitted by:	Colin Phipps <crp22@cam.ac.uk>
2000-04-03 09:49:49 +00:00
Steve Price
c720912e54 Add support for sunos_big_vec to support 'make world's on Solaris
boxes.
2000-04-03 03:51:46 +00:00
Steve Price
eb0bd3c3d2 Add support for the sunos_big_vec format as well. 2000-04-03 03:48:49 +00:00
Steve Price
d07cc88aff Build and install the elf32_sparc ld(1) scripts and make elf32_sparc
the default emulation.
2000-04-03 03:42:07 +00:00
Steve Price
dc886d4d77 Enable Haifa on sparc64 as well. 2000-04-02 22:51:02 +00:00
Steve Price
5e59c5460c First cut at the (non-contrib) bits needed to build the binutils
distribution for FreeBSD/Sparc64.

Reviewed by:	obrien
2000-04-02 22:36:56 +00:00
Steve Price
78d3fce125 The ld directory is in ${SRCDIR} not ${BINUTILSDISTDIR}. 2000-04-02 20:23:58 +00:00
Jeroen Ruigrok van der Werven
2f694bd90e Add additional path for info to /usr/X11R6/info. This will allow
people to actually look at the info files for gdk and gtk for example.
2000-04-01 15:30:57 +00:00
Bruce Evans
758aca682c Fixed wrong path to libperl in DPADD.
Fixed wrong path to libperl in LDADD in some funky objdir setups.

Use ${dir}/libfoo.a instead of -L${dir} -lfoo for local static libraries
in LDADD so that `make checkdpadd' doesn't report non-errors.

Fixed misformatting of $FreeBSD$.
2000-03-27 18:29:46 +00:00
Bruce Evans
6a18627411 Use ${dir}/libfoo.a' instead of -L${dir} -lfoo' for local static
libraries in LDADD so that `make checkdpadd' doesn't report non-errors.

Fixed some style bugs (the usual ones for DPADD and LDADD, and misformatting
of $FreeBSD$).
2000-03-27 18:02:04 +00:00
Bruce Evans
de97d66311 Don't abuse LDADD for holding linker flags. Doing so broke
`make checkdpadd'.  Linker flags (ones passed via ${CC}) go in
LDFLAGS.

Fixed some style bugs (misformatting of $FreeBSD$).
2000-03-27 15:58:53 +00:00
Bruce Evans
aceb805ea9 Fixed missing DPADD.
Fixed some style bugs (some usual ones for LDADD, and misformatting of
$FreeBSD$).
2000-03-27 15:40:30 +00:00
Kris Kennaway
99fee5f91c Update for gperf 2.7 2000-03-25 07:50:02 +00:00
Mike Pritchard
776dba5ae2 Fix a minor grammar problem. 2000-03-24 01:02:33 +00:00
David E. O'Brien
ac419355a1 Clean up the FreeBSD configuration files -- includes removing the usage
of svr4.h on the i386, and moving all the shared arch neutral bits into
the FreeBSD general config header.
2000-03-23 10:18:26 +00:00
Peter Wemm
3ef5063241 A bandaid to try and make this buildable. This should probably be
rechecked by somebody who knows what is meant to happen here. The new
libreadline rluser.texinfo file duplicates the '@defcodeindex bt' entry.
2000-03-20 10:52:28 +00:00
David E. O'Brien
7dfa5832e9 Make the SUBDIR list more granular to assist in my GCC hacking. 2000-03-19 23:47:50 +00:00
David E. O'Brien
10f16f0fe2 Make the build-tools objects weirder named so one can tell there is
something special going on here.
2000-03-15 05:13:53 +00:00
David E. O'Brien
658cec5b94 Move some cflag contents down to where they are acutally used. 2000-03-13 09:12:36 +00:00
Mark Murray
e986c01b3f Considerable upgrade to the way perl links to shared objects. This
fixes the way that third-party apps like apache link in perl .so's
(and previously did not get libperl linked in.)

NOTE - you neeed to recompile all your perl stuff - all the p5-*
por4ts with C code, and things like mod_perl.
2000-03-08 15:45:14 +00:00
Nik Clayton
b1ba45cfe5 Remove xrefs to obsolete ft driver.
PR:             docs/17080
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-01 10:40:18 +00:00
Mark Murray
5e41278213 Use libcrypto instead of libdes. 2000-02-24 23:15:42 +00:00
David E. O'Brien
e216cd60d3 Build and install gasp's infodocs along side the other binutil docs rather
than seperately.

Pointed out by:	bde
2000-02-21 20:33:31 +00:00
Ruslan Ermilov
73d1eabc26 Merge FreeBSD changes into 2.4d. 2000-01-31 13:28:57 +00:00
Ruslan Ermilov
7e1d495350 Merge FreeBSD changes into 2.4d.
FreeBSD changes OBE'ed by 2.4d:
* rev 1.5 - use collate for alpha character ranges.
2000-01-31 13:28:08 +00:00
Ruslan Ermilov
204aabd910 This is the stock GNU grep 2.4d file. 2000-01-31 13:26:10 +00:00
Ruslan Ermilov
cb22a7128a This commit was generated by cvs2svn to compensate for changes in r56915,
which included commits to RCS files with non-trunk default branches.
2000-01-31 13:22:22 +00:00
Ruslan Ermilov
7898cc4c8d Virgin import of a trimmed down GNU Grep 2.4d. 2000-01-31 13:22:22 +00:00
David E. O'Brien
e606666d7b Retire Bison as it is not need to build GCC any more.
Ok'ed by:	JKH
2000-01-30 19:24:31 +00:00
Mark Murray
bdca82d4e3 Fix for (amongst other things) the cross-compile case where a too-old
version of libperl was being found.

Tested on:	beast
2000-01-29 14:18:02 +00:00
David E. O'Brien
aef79b9c89 "Rev.1.45 of cc_tools/Makefile was a wrong fix for a problem introduced
in rev.1.44 (the egcs to gcc switch).  The problem is that print-rtl.o
is now needed to build some tools, but it wasn't added to the list of
objects which are specially handled because they are prerequisites for
tools."

Submitted by:	bde
2000-01-29 12:38:21 +00:00
Jason Evans
9ac40dffaf Track internal(!) libc symbol naming change. 2000-01-28 08:49:23 +00:00
Archie Cobbs
2476d833fb Fix typo for the flag `--ungzip'' which should have been `--gunzip''
as is documented in the man page.  Retain the older mistaken version
of the flag for backwards compatibility in case anybody is using it.
Add $FreeBSD$ tag as cvs requires it.

PR:		gnu/7800
2000-01-24 21:38:18 +00:00
David E. O'Brien
9c8a631de5 Merge cc_drv into cc_int. Merge more shared files into cc_int. 2000-01-24 20:12:05 +00:00
David E. O'Brien
54e6aeb25d Simply cc_tools/Makefile by moving the parser generation to the respective
backends.
2000-01-24 09:17:09 +00:00
David E. O'Brien
01573adf71 Style change to better match src/lib/'s Makefiles. 2000-01-24 08:44:30 +00:00
David E. O'Brien
0eb6f1f6c1 I *hate* using "i" in variables, looks too much like "1" or "l". 2000-01-23 22:46:00 +00:00
David E. O'Brien
76748474eb Minor style nits. 2000-01-21 02:09:43 +00:00
Ruslan Ermilov
c9746255c9 Back out previous revision because someone upgraded our
texinfo system to one that understands "command{foo}".
2000-01-18 09:52:00 +00:00
Ruslan Ermilov
1331c61815 Fix conflicts. 2000-01-18 09:46:39 +00:00
Ruslan Ermilov
d513cb6cd3 Virgin import of a trimmed down GNU Grep 2.4a. 2000-01-18 09:45:11 +00:00
Ruslan Ermilov
5a5a4819e3 This commit was generated by cvs2svn to compensate for changes in r56230,
which included commits to RCS files with non-trunk default branches.
2000-01-18 09:45:11 +00:00
Ruslan Ermilov
6892764481 Oops, cleanup this a bit.
Forgotten by:	ru
2000-01-18 07:48:21 +00:00
Brian Feldman
3f31370c82 :%s:\([A-Z][A-Z]ADD\)=:\1+=:g
Add the forgotten plus, which should unbreak the world build.
2000-01-17 18:01:15 +00:00
Ruslan Ermilov
9cf7cc2c97 Upgrade to GNU texinfo 4.0 2000-01-17 10:59:30 +00:00
David E. O'Brien
6986f365d4 Update for 1.0.5a. 2000-01-16 10:21:28 +00:00
David E. O'Brien
33968c4550 Remove Bison from the build. This is a prelude to possibly removing it
from 4.0-R.
2000-01-16 00:11:34 +00:00
David E. O'Brien
b243983f32 This patch solves the a cross-build problem where proj.c is both used by a
build-tools target and by the actual target.  In a cross-building situation
proj.o is both a native object and a cross-object (i.e., for the target
arch) and thus doesn't work.  Creating seperate opjects from the same
source file solves this...

This patch may also fix the following issue:

> it looks like -DNOCLEAN doesn't work too well.
> cd /usr/src/gnu/usr.bin/cc/f771; make build-tools
> make: don't know how to make /usr/obj/usr/src/i386/usr/include/stdarg.h. Stop

	This seems caused by wrong dependency information.  Dependency
	information shouldn't be created for build-tools sources.

Submitted by:	marcel
2000-01-14 09:28:25 +00:00
David E. O'Brien
f076712ac1 Make mktemp.c a "normal" C implimentation when building this library. 2000-01-13 04:55:41 +00:00
Jeroen Ruigrok van der Werven
5547f6cadd Add necessary tmac files to the tmac Makefile and install them
in /usr/share/tmac like the rest.
2000-01-12 13:37:57 +00:00
Jeroen Ruigrok van der Werven
c0ecbb30f4 Allow devhtml and grohtml to be built.
This is a new feature of groff and is a html driver for groff.

From the manual page:
"grohtml translates the output of GNU troff to html."

This is very interesting for people working on documentation.
2000-01-12 13:17:51 +00:00
Jeroen Ruigrok van der Werven
0181caf3b7 Add bmake glue for devhtml and grohtml of the groff package. 2000-01-12 13:14:27 +00:00
Jeroen Ruigrok van der Werven
a5f364c428 Allow grog to be made during compilation. 2000-01-12 10:31:55 +00:00
Jeroen Ruigrok van der Werven
9eb65820c1 Add bmake glue for grog(1), an utility which guesses groff's
flags and options.

Requested by:	andreas
2000-01-12 10:30:27 +00:00
Peter Wemm
eafb8437ea Ack, missed a CVSHeader reference in a switch. *blush*
Submitted by:	ru
2000-01-11 11:55:26 +00:00
David E. O'Brien
a344203d03 Drop the use of Bison for Byacc now that we don't need to depend on the
--broken-undeftoken-init Bison 1.25 bug.
2000-01-11 10:37:38 +00:00
Alexey Zelkin
bd186dee63 Fix typo: MAINAINER -> MAINTAINER 2000-01-10 11:38:51 +00:00
Alexey Zelkin
0b59cdbe84 install contrib/bc/Examples as /usr/share/examples/bc 2000-01-10 08:55:02 +00:00
Jordan K. Hubbard
9a3e78d969 Have to install from ${.CURDIR}, not ${.OBJDIR}. 2000-01-08 09:34:45 +00:00
Alexey Zelkin
d2d012730f Install contents of the dialog/TESTS directory to share/examples/dialog 2000-01-07 13:35:10 +00:00
Ruslan Ermilov
355f9b3c5d Decompression is supported via -Z, not -z. 2000-01-04 10:34:27 +00:00
Ruslan Ermilov
95a9e62800 * Make --null option work in (HAVE_LIBZ > 0) case.
* Remove "why we need this decl..." comment.  The `matcher' variable
  is defined in *grepmat.c files in the original distribution, which
  we did not import.
2000-01-04 10:32:55 +00:00
David E. O'Brien
2d410dba14 Turn on a new /usr/bin/cpp that is a true binary rather than a shell script
wrapper.  /usr/bin/cpp knows about all the GCC predefined symbols and has
the functionality of the previous EGCS 1.1.2 /usr/libexec/cpp.
2000-01-04 03:48:08 +00:00
David E. O'Brien
22b1762487 Update for version 2.4. 2000-01-04 03:37:56 +00:00
David E. O'Brien
ca14eaae36 Turn off GNU Info docs until someone upgrades our texinfo system to one
that understands "command{foo}".
2000-01-04 03:27:32 +00:00
David E. O'Brien
7e5b33c6cd Merge FreeBSD chagnes into GNU grep 2.4. 2000-01-04 03:25:40 +00:00
David E. O'Brien
9ca25a7fa0 Virgin import of a trimmed down GNU Grep 2.4. 2000-01-03 21:09:05 +00:00
David E. O'Brien
582fb0dece This commit was generated by cvs2svn to compensate for changes in r55360,
which included commits to RCS files with non-trunk default branches.
2000-01-03 21:09:05 +00:00
David E. O'Brien
fc9e6f421e Virgin import of a trimmed down GNU Grep 2.3. 2000-01-03 21:07:51 +00:00
David E. O'Brien
d4fd9eb867 This commit was generated by cvs2svn to compensate for changes in r55357,
which included commits to RCS files with non-trunk default branches.
2000-01-03 21:07:51 +00:00
David E. O'Brien
0c61940e7a Egads! This still refered to contrib/egcs/ 2000-01-03 10:41:11 +00:00
David E. O'Brien
da5bfe2f43 Didn't get these PREFIX specifiers removed with Makefile.inc rev 1.48.
Submitted by:	marcel
2000-01-02 22:57:34 +00:00
Ruslan Ermilov
4441e614bb This is the stock 2.3 file. Since someone majorly SPAMMED the
repository by NOT vendor importing the virgin 2.0 sources, CVS
had no idea what to do here.
1999-12-30 19:30:26 +00:00
Ruslan Ermilov
5567dff69e Virgin import of a trimmed down GNU Grep 2.3.
It is being re-imported here, to keep our long source change history with
this source continuous.
src/contrib/grep will be deleted some time in the very near future.
1999-12-30 19:19:37 +00:00
David E. O'Brien
79f9b09ff2 Honestly, really, really add a manpage for gasp. 1999-12-30 04:48:17 +00:00
David E. O'Brien
35ebfc88a5 Add a manpage for gasp. 1999-12-30 04:46:38 +00:00
Steve Price
16750aa22e Provide some verbage for FreeBSD's list of categories.
PR:		2897
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1999-12-29 23:13:56 +00:00
David E. O'Brien
253745e1fc Allow the specification of a prefix for gcc to find all the various bits.
If one wishes to anchor the compiler toolchain tree somewhere other than /,
all one needs to do is set "TOOLS_PREFIX" to a different rooting.

Submitted by:	marcel (in a different format and reworked by me)
1999-12-29 14:42:46 +00:00
David E. O'Brien
bbf480ddf2 Hookup the info docs. 1999-12-29 00:38:48 +00:00
David E. O'Brien
983d57fe35 Build and install the GASP info page. Unfortunately there is no manpage. 1999-12-28 22:32:24 +00:00
Alexey Zelkin
c7986155e0 Better handling groff failures. If popen(ROFF_COMMAND) returns zero bytes
then handle it as problem. This commit fixes problem with archiving empty files.

PR:		gnu/5767
Submitted by:	Bill Fenner <fenner@parc.xerox.com>
1999-12-28 12:55:58 +00:00
David E. O'Brien
8496474adb Fix cut-n-paste braino. 1999-12-22 05:34:56 +00:00
David E. O'Brien
a3d6eca585 Reduce the FreeBSD custom hacks to gcc.c by using the GCC provided methods
of changing the search dirs.  This also removes an used search dir,
removes unneeded redundancy, and a bugus dir we enherited on the i386
by baseing off of svr4.h.

We went from:
	install: /usr/libexec/(null)
	programs: /usr/libexec/<OBJFORMAT>/:/usr/libexec/:/usr/bin/:/usr/libexec/
	libraries: /usr/libdata/gcc/:/usr/libexec/:/usr/ccs/lib/:/usr/lib/

to:
	install: /usr/libexec/(null)
	programs: /usr/libexec/<OBJFORMAT>/:/usr/libexec/
	libraries: /usr/libexec/:/usr/lib/
1999-12-22 05:00:28 +00:00
David E. O'Brien
636e7b0455 Another style nit. 1999-12-22 02:16:21 +00:00
David E. O'Brien
6a36d46ee4 * Support a non-default sized `long' data type. This allows one to easily
build the compiler with a 64-bit longs on the i386.
* Comment an important dependancy.
* Fix some style nits

Submitted by:	bde
1999-12-22 02:03:28 +00:00
David E. O'Brien
f4d206c621 * Remove debugging cruft that accidently got committed.
* Support mixed OBJDIR handling such .a's are properly found with a mix of
  obj subdirs both w/in and outside the source tree works.  Requested by BDE.
1999-12-22 01:56:57 +00:00
Jeroen Ruigrok van der Werven
cf783253bd Update man(1) to explain how to use the section numbers.
PR:		docs/15557
Submitted by:	John Meshkoff <johnpipe@nwserv.com>
Reviewed by:	sheldonh
1999-12-20 14:34:29 +00:00
David E. O'Brien
665fb296a7 Add libcc_fbsd.a that contains libc and libiberty routines needed in
bootstraping on FreeBSD specifically.

3.2 upgrade path tested by:	marcel
1999-12-19 20:22:42 +00:00
Peter Wemm
6e2578e4c4 Revert the libcrypt/libmd stuff back to how it was. This should not have
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design).  libcrypt has
been adjusted to not need the runtime -lmd.  It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.
1999-12-18 13:55:17 +00:00
Marcel Moolenaar
ecc4dcbd82 s/MACHINE_ARCH/TARGET_ARCH/g
The target machine is represented by TARGET_ARCH. MACHINE_ARCH always
represents the host machine. When TARGET_ARCH is not defined, it is
assumed to be equal to MACHINE_ARCH. This means that we're building a
native toolset by default. We're creating cross-compilation tools when
MACHINE_ARCH != TARGET_ARCH.

TARGET_ARCH is defined when building binutils as part of the bootstrap
build and is set to reflect the architecture we're currently cross-
building. With this change binutils is ready for cross-building.
1999-12-17 15:50:45 +00:00
Marcel Moolenaar
d917cb952c Add libmd to LDFLAGS. libmd is needed by libcrypt. 1999-12-16 12:12:28 +00:00
Jordan K. Hubbard
edad13b0a1 Make the perl build a little less chatty.
Reviewed by:	markm
1999-12-16 11:21:08 +00:00
Marcel Moolenaar
7c99ddf2cc Add libmd (or move it after libcrypt). We don't want the linker to be
smart because it will definitely get it wrong. This popped up during
cross-linking.
1999-12-16 10:55:45 +00:00
Marcel Moolenaar
6c249bacea Misuse MakeMaker's DEFINE parameter to add an include path to the cc
command line. The makefiles created can now be used for cross-building.
1999-12-15 18:06:49 +00:00
Peter Wemm
2c3311bb47 reactivate cvs subdir build 1999-12-11 17:32:07 +00:00
Peter Wemm
47e98476fe Update files generated by configure. 1999-12-11 15:12:37 +00:00
Peter Wemm
aa06d428e7 Turn off cvs for a moment pending import of a newer version.. 1999-12-11 12:12:54 +00:00
Marcel Moolenaar
7466caf46a Don't make gdb, objc and f77 when building tools. 1999-12-09 16:40:27 +00:00
Peter Wemm
ae2e1b5675 Add maintainer tags 1999-12-08 16:43:32 +00:00
David E. O'Brien
e775328ff6 Revert rev 1.8.
NOT Approved by:	obrien
1999-12-08 16:00:08 +00:00
Marcel Moolenaar
1bc51f6ae7 Maintain compatibility with FreeBSD versions that don't have mkstemps 1999-12-08 13:53:16 +00:00
Doug Rabson
db6b5f91cf Make this actually build with current sources. 1999-12-08 11:47:48 +00:00
Doug Rabson
99b8134654 Build gasp (GAS Preprocessor). This is needed for building Glide. 1999-12-07 17:01:27 +00:00
Marcel Moolenaar
6d467b524d Override PERL and FULLPERL to be just "perl". This prevents MakeMaker
(ie Makefile.PL) from creating makefiles that explicitly use the perl
from the object tree. It breaks cross-building. While I'm here, create
a variable that holds common MakeMaker arguments used by all targets,
and by doing so automaticly fixed a bug.

Approved by: markm
1999-12-04 13:01:21 +00:00
Marcel Moolenaar
a900d959ff Add miniperlmain.c to CLEANFILES and remove a second instance of
config_h.sh

Not objected to by: markm
1999-12-04 12:40:38 +00:00
David E. O'Brien
b0576ff7e0 Call isspace() directly to get rid of an objectionable include. 1999-12-04 08:44:05 +00:00
David E. O'Brien
eaf4925a25 Support the environtmental var "CVS_OPTIONS". Which can hold a set of
default options for cvs.  These options are interpreted first and can be
overwritten by explicit command line parameters.

Obtained from:	GNU Grep 2.3
1999-12-04 01:23:26 +00:00
Marcel Moolenaar
3792991203 remove cc1obj from the original SUBDIR list since it's made optional
in the previous commit resulting.

Forgotten by: obrien
1999-11-28 12:30:20 +00:00
David E. O'Brien
8b4fc928ad Arange the f* floating point instructions to match binutils 2.9.1. 1999-11-28 01:11:35 +00:00
David E. O'Brien
8f5d66533a Add "fild" instruction. GCC 2.95.2 likes to generate this one.
Obtained from:	contrib/binutils/include/opcode/i386.h
1999-11-28 01:05:35 +00:00
David E. O'Brien
690d1b00ac Make ObjC bits optional. NO_OBJC ==> don't need `em. 1999-11-27 21:52:55 +00:00
Poul-Henning Kamp
6512591f8d s/dir.h/dir.c/ 1999-11-26 12:29:48 +00:00
David E. O'Brien
07bdb1554d Support the environtmental var "GREP_OPTIONS". Which can hold a set of
default options for diff.  These options are interpreted first and can be
overwritten by explicit command line parameters.

Obtained from:	GNU Grep 2.3h
1999-11-26 03:26:59 +00:00
David E. O'Brien
c0bc11462b Style changes -- whitespace and sorting. 1999-11-26 03:06:33 +00:00
David E. O'Brien
20ee132cae * Support the environtmental var "DIFF_OPTIONS". Which can hold a set of
default options for diff.  These options are interpreted first and can be
overwritten by explicit command line parameters.
* Add the "-o" option to specify old-traditional output style.
* Add utility functions for env vars obtained from GNU Grep 2.3h.
1999-11-26 02:51:44 +00:00
David E. O'Brien
3c6c025dba GNU killed this sometime before 2.3. 1999-11-24 15:11:51 +00:00
Andrey A. Chernov
41a1d0d2b5 Allow man to parse MANLOCALES but not to store it 1999-11-23 03:38:41 +00:00
Andrey A. Chernov
1ed4b3e952 #ifdef MAIN locale additions to build man 1999-11-23 03:34:17 +00:00
Andrey A. Chernov
597ccab43e Use manpath -L for locales 1999-11-23 03:11:54 +00:00
Andrey A. Chernov
f052fd3563 Add -L: print MANLOCALES variable for man locales list 1999-11-23 03:06:18 +00:00
David E. O'Brien
ab473c8a50 Missed two.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1999-11-22 20:03:01 +00:00
David E. O'Brien
6b769ae793 Virgin import of GNU Grep 2.3 [trimmed down]. 1999-11-22 10:31:17 +00:00
David E. O'Brien
06adfd11a1 This commit was generated by cvs2svn to compensate for changes in r53574,
which included commits to RCS files with non-trunk default branches.
1999-11-22 10:31:17 +00:00
David E. O'Brien
446b097ec8 Make the tests work again. 1999-11-22 09:48:04 +00:00
David E. O'Brien
cb8edeb588 spencer.tests is now spencer1.tests. The other files aren't part of
GNU Grep any longer.
1999-11-22 09:43:15 +00:00
David E. O'Brien
e0e99c88a7 Virgin import of GNU Grep 2.3 [trimmed down]. 1999-11-22 09:32:57 +00:00
David E. O'Brien
5032ef7fec This commit was generated by cvs2svn to compensate for changes in r53568,
which included commits to RCS files with non-trunk default branches.
1999-11-22 09:32:57 +00:00
David E. O'Brien
0630279783 Finish proper hookup of GNU Grep 2.3, including docs & config header file,
rather than the compile commandline from hell.

Submitted by:	ru
1999-11-22 09:13:43 +00:00
David E. O'Brien
07e1e6193e Build and install GNU Grep 2.3 docs. 1999-11-22 08:56:30 +00:00
David E. O'Brien
349c680aa7 Virgin import of a trimmed down GNU Grep 2.3. 1999-11-22 08:53:32 +00:00
David E. O'Brien
d025145f7a This commit was generated by cvs2svn to compensate for changes in r53564,
which included commits to RCS files with non-trunk default branches.
1999-11-22 08:53:32 +00:00
David E. O'Brien
f90c9f8e9e Restore the 2.3 config file. 1999-11-21 19:10:50 +00:00
Peter Wemm
bce3d5b6ef Apply a bandaid to the grep Makefile to try and get it to compile and stop
breaking world.
1999-11-21 09:44:26 +00:00
David E. O'Brien
75b7d1d0ef Spell command names correctly. Even when they appear at the beginning
of a sentence.
1999-11-21 02:00:16 +00:00
David E. O'Brien
5b104c31b2 Merge FreeBSD changes into 2.3:
* revs 1.5-6 - added builtin decompression using zlib library, option -Z.

Submitted by:	ru
1999-11-21 01:55:21 +00:00
David E. O'Brien
678b4e4854 Virgin import of a trimmed down GNU Grep 2.3.
It is being re-imported here, to keep our long source change history with
this source continuous.
src/contrib/grep will be deleted some time in the very near future.
1999-11-21 01:50:08 +00:00
David E. O'Brien
dd5c240f7a Merge FreeBSD changes into 2.3:
* rev 1.2 - use -lgnuregex

FreeBSD changes OBE'ed by 2.3:
* revs 1.4-5 - icase searches & ctype macro changes, fuctionality moved
               elsewhere.
* rev 1.3 - Remove trailing whitespace.  The GNU Grep maintainers did this
            for us.

Submitted by:	ru
1999-11-21 01:15:40 +00:00
David E. O'Brien
8d50785029 Alias -R to -r for backward compatibility.
Submitted by:	ru
Requested by:	wosch
1999-11-21 01:09:03 +00:00
David E. O'Brien
435811113f Set default matcher from argv[0].
Merge FreeBSD changes into 2.3:
* revs 1.9-10 - built-in decompression using zlib(3) library

FreeBSD changes OBE'ed by 2.3:
* rev 1.7 - our "-q" flag.  Use "-L" or "-l" now.
* revs 1.{4,6} - colleate, and with correct LC_ type.
* rev 1.3 - remove trailing whitespace.

Submitted by:	ru
1999-11-21 01:02:48 +00:00
David E. O'Brien
4d0ccc8353 This is the stock 2.3 file (+ FreeBSD id). Since someone added 2.0 rather
than vendor importing the virgin 2.0 sources, we have to manually put this
on the HEAD branch.
1999-11-20 23:42:44 +00:00
David E. O'Brien
54d8658575 This is the stock 2.3 file (+ FreeBSD id). Since someone majorly SPAMMED
the repository by NOT vendor importing the virgin 2.0 sources, CVS had no
idea what to do here.
1999-11-20 23:41:24 +00:00
David E. O'Brien
651d50a82f This is the stock 2.3 file (+ FreeBSD id). Since someone majorly SPAMMED
the repository by NOT vendor importing the virgin 2.0 sources, CVS had no
idea what to do here.
1999-11-20 23:16:11 +00:00
David E. O'Brien
7423a9f8e9 Merge FreeBSD changes into 2.3:
* rev 1.5 - use collate for alpha character ranges
* rev 1.3 - use -lgnuregex

Submitted by: ru
1999-11-20 23:09:17 +00:00
David E. O'Brien
c0e0ea0037 Virgin import of a trimmed down GNU Grep 2.3.
It is being re-imported here, to keep our long source change history with
this source continuous.
src/contrib/grep will be deleted some time in the very near future.
1999-11-20 18:37:42 +00:00
David E. O'Brien
2186a02c95 This commit was generated by cvs2svn to compensate for changes in r53469,
which included commits to RCS files with non-trunk default branches.
1999-11-20 18:37:42 +00:00
Peter Wemm
c18f2d82a5 Back out the botched attempt to update to gnu grep 2.3 (lots of history
was lost).  Restore original version to try and avoid breaking the build
while David O'brien does a proper set of imports and merges.

Requested by:	obrien
1999-11-20 09:40:28 +00:00
David E. O'Brien
f2b766ceb4 mkstemps() has been brought into 3-STABLE, so this isn't needed here
anymore as building -CURRENT sources on 3-STABLE was the reason for the
previous revision adding this.

Note that since the GCC Project moved mkstemp.c from GCC's world to
libiberty, we no longer support building -CURRENT sources on non-FreeBSD
boxes unless that box has a very simular libc mix as FreeBSD.
1999-11-20 00:32:05 +00:00
David E. O'Brien
4f095fcfa7 Remove the `sysctl' get osversion hack. There are issues with cross-hosting
builds, Also, `sysctl' is not a build-tool and I'd rather not make it one.
3-STABLE has been updated to deal with the main reason this came in.
1999-11-20 00:28:03 +00:00
David E. O'Brien
5918196236 Build genrtl.h before print-rtl.o.
Submitted by:	John Hay <jhay@mikom.csir.co.za> (basic idea, changed by me)
1999-11-17 15:50:45 +00:00
Sheldon Hearn
ea97bd380d Add perlopentut.pod, perlreftut.pod and perlthrtut.pod to the list of
pod files to be converted to and installed as manual pages.

These were probably overlooked in the last minor version number upgrade
to perl5.  This change was approved by the perl5 maintainer.

PR:		14649
Submitted by:	Andy Farkas <andyf@speednet.com.au>
1999-11-17 12:22:51 +00:00
David E. O'Brien
e91a7e08cf Allow sub-Makefile's to determine the version of the OS we are make'ing on. 1999-11-17 07:42:40 +00:00
David E. O'Brien
312af410fe Add `mkstemp.c' to the mix if we are building on something older than
__FreeBSD_version < 400004.

This allows -STABLE to build -CURRENT sources.

[mkstemps() was added to -current just before the version bump to 400004
(a matter of hours in this case), so the test is as exact as possible.]

Submitted by:	marcel
1999-11-17 07:39:51 +00:00
David E. O'Brien
eb33411e9b Cut over the system compiler from from EGCS 1.1.2 to GCC 2.95.2. 1999-11-15 04:16:19 +00:00
David E. O'Brien
07123604c5 Purely cosmetic changes to lineup targets. 1999-11-15 00:29:00 +00:00
David E. O'Brien
356f7b8cd1 Cosmetic removeal of a trailing white space. 1999-11-15 00:25:01 +00:00
Marcel Moolenaar
0917704bd4 ${MACHINE} -> ${MACHINE_ARCH}
All Makefiles now use MACHINE_ARCH for the target architecture.
Unification is required for cross-building.

Tags added to:
	sys/boot/Makefile
	sys/boot/arc/loader/Makefile
	sys/kern/Makefile
	usr.bin/cpp/Makefile
	usr.bin/gcore/Makefile
	usr.bin/truss/Makefile

usr.bin/gcore/Makefile:
	fixed typo: MACHINDE -> MACHINE_ARCH
1999-11-14 13:54:44 +00:00
John Baldwin
8081b10e66 Fix man so that it does not allow command line arguments to expand when
executing apropos or whatis.  This prevents `man -k ';echo foo'` from
executing `echo foo` and causes apropos to print an error message instead.

Add $FreeBSD$ while I am here.

Noticed by:	chris
1999-11-13 00:11:50 +00:00
Marcel Moolenaar
2205071966 Make binutils for Alpha work on i386 machine, by properly defining
whether the host machine has a 64-bit long or not.
1999-11-12 16:53:58 +00:00
John Birrell
d19f65c59d Replace freebsdelf with freebsd in BINDIR
Requested by: obrien
1999-11-07 08:07:02 +00:00
John Birrell
e806769bd7 These have been repo-copied to i386-freebsd. 1999-11-07 06:13:35 +00:00
John Birrell
8e3f8ad334 These have been repo-copied to alpha-freebsd. 1999-11-07 06:11:36 +00:00
John Birrell
4ed1406b4c Replace freebsdelf with freebsd in most places.
Requested by: obrien
1999-11-07 06:01:35 +00:00
John Birrell
da93b590fb After a repo copy of as_{alpha,i386,mips} to {alpha,i386,mips}-freebsd,
tidy up the logic that works out which sub-directories to build.

The new directories with freebsdelf suffixes now have freebsd suffixes
after a repo move by Peter at the request of David O'Brien.
1999-11-07 05:59:25 +00:00
John Birrell
bf5c062675 Replace freebsdelf with freebsd in BINDIR.
[ alpha-freebsd, i386-freebsd and mips-freebsd were repo-copied
  by Peter (one of the repo-men) ]

Requested by: obrien
1999-11-07 05:56:04 +00:00
John Birrell
4fecd2e259 Add support for additional architectures. 1999-11-06 22:52:33 +00:00
John Birrell
86f001b84c Use the simplified genscripts.sh and set the cross-compiled library
directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that
the cross tools behave the same way that the host versions do. When
building cross tools, Cygnus doesn't set the default library directory.
This doesn't suit FreeBSD IMHO.

Add WinNT emulation support too. You only get this if you've set
BINUTILSDISTDIR because the contrib/binutils repository doesn't
contain the required sources.
1999-11-06 22:46:45 +00:00
John Birrell
08d64a6b65 Use the simplified genscripts.sh and set the cross-compiled library
directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that
the cross tools behave the same way that the host versions do. When
building cross tools, Cygnus doesn't set the default library directory.
This doesn't suit FreeBSD IMHO.
1999-11-06 22:44:32 +00:00
John Birrell
6eb9b41026 This is a simplified version of the binutils script which better suits
the (few) things that the FreeBSD makefiles need to specify.
1999-11-06 22:40:15 +00:00
John Birrell
a719bd2fd1 Add a BINUTILSDISTDIR hook here too. 1999-11-06 22:36:40 +00:00
John Birrell
6fc579d56c This one might be a bit controversial. 8-)
gas for i386 targeted to NT for those (like me) who have to do work
targeted to NT, but can't stand actually looking at it all day long.
I cross build apps on FreeBSD and just run them on NT later. Life is
better that way.
1999-11-06 22:26:43 +00:00
John Birrell
7426ce67f6 gas for m68k targeted to NetBSD's a.out format. Useful for porting or
even just building applications targeted to NetBSD.

I know this will upset some people (outside FreeBSD).
1999-11-06 22:21:57 +00:00
John Birrell
e9cf6a0347 gas for powerpc targeted to FreeBSD. 1999-11-06 22:16:59 +00:00
John Birrell
4e51edb129 gas for m68k targeted to FreeBSD. 1999-11-06 22:14:26 +00:00
John Birrell
9daea63040 gas for sparc targeted to FreeBSD as ELF32 for a start (suject to change). 1999-11-06 22:12:24 +00:00
John Birrell
1009ce833e Don't change the name when building a cross-tool. Just set the BINDIR
to /usr/libexec/cross/${MACHINE_ARCH}-freebsdelf.
1999-11-06 21:59:29 +00:00
John Birrell
e60947e1ad Add the BINUTILSDISTDIR hook here too. 1999-11-06 21:55:33 +00:00
John Birrell
19bf8ac856 Change CROSS_TARGETS to CROSS_FORMATS because that makes more sense.
Check if already cross-compiling and only build the cross-tools if
not cross-compiling (to save time).
1999-11-06 21:54:21 +00:00
John Birrell
53149093a0 Add support for additional architectures. 1999-11-06 21:38:41 +00:00
John Birrell
015520102a Add support for additional architectures. 1999-11-06 21:28:22 +00:00
John Birrell
fe8e7c2346 Change CROSS_TOOLS to CROSS_ARCH because that makes more sense.
Allow for the case where the host architecture might also be listed
in CROSS_ARCH, so don't do things twice. This situation can arise if you
want NT support in binutils (CROSS_ARCH=i386 CROSS_FORMAT=winnt).
1999-11-06 21:13:47 +00:00
John Birrell
2e734fae4e Teach binutils how to understand NT format objects and libs. This is useful
for those who want to objdump --disassemble things that they're not
supposed to. 8-)
1999-11-06 21:09:40 +00:00
John Birrell
3ba3ae906a Add a BINUTILSDISTDIR hook to provide a path to a full binutils release
outside the contrib files that FreeBSD distributes. This for use by
those who want to work on porting FreeBSD to additional architectures.
1999-11-06 21:04:46 +00:00