Commit graph

2183 commits

Author SHA1 Message Date
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 243821529c Stop my evil plot to stop the use of GNU info files (which I don't care for)
for people that don't have "NOINFO=yes" in /etc/make.conf.
[read: this still refered to contrib/egcs/]
2000-01-03 17:40:47 +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
Jordan K. Hubbard 9639dc68d7 *Really* make space accelerators work; no wonder Brian McGovern was
confused!  I fat-fingered the first commit.
1999-12-17 02:44:09 +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
Jordan K. Hubbard 34fa097361 Prevent spaces from being interpreted as accelerators. 1999-12-14 04:18:22 +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 a8d46c3a99 Pay attention to the "KEEP THIS IN SYNC" comment, and sync the `tm.h'
header with src/gcc/usr.bin/cc/cc_tools/Makefile.
1999-11-17 07:20:27 +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 0ff494e258 Cosmetic change to match cc_tools/Makefile 1999-11-15 00:49:35 +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