Commit Graph

2502 Commits

Author SHA1 Message Date
markm
1a005c4d46 Perl's version number needs upating. 2000-07-02 16:10:45 +00:00
markm
b5beb00654 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
ache
6e9089a719 Fix manpath for new perl 2000-07-02 03:17:31 +00:00
peter
0ea3bd8d54 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
markm
3d5033b596 Tweaks to the build to allow "make -DNOCLEAN" and "make release" to
work.
2000-06-29 18:21:51 +00:00
markm
d075a2c607 Fix the upgrade-build case. 2000-06-27 15:28:14 +00:00
markm
4e22b27412 Fix for bootstrapping. Grr. Pointy Hat Please? 2000-06-26 15:02:10 +00:00
markm
7d3a1fa79b Thread support for v5.6.0 2000-06-26 10:20:57 +00:00
markm
a9285c4d87 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
alex
6671c5f992 /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
obrien
5a907ff0c1 We are now at version 2.10 release. 2000-06-20 06:19:15 +00:00
ache
e0bbf8350a Remove libxpg4 2000-06-04 23:16:14 +00:00
obrien
7b694b0fc3 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
ru
a28e94024d Restore backwards compatible -R option.
Broken in revision 1.17.

Noticed by:	hoek
2000-05-30 10:50:15 +00:00
jake
961b97d434 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
ume
96ab0c2c8f IPv6 support.
Add $FreeBSD$.
2000-05-25 16:38:22 +00:00
obrien
2a9348d6af 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
0101aac2fa 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
d93fbc9916 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
obrien
0624c65a35 Updated 2.10 headers. 2000-05-22 08:40:17 +00:00
obrien
f9cf2be8ca Tweaks to match those done in the Binutils mainline code. 2000-05-22 08:33:03 +00:00
obrien
aa7968485d version 2.10 config file. 2000-05-22 08:26:10 +00:00
obrien
e6cacfa3cb Conditionally define "CROSS_COMPILE" here. 2000-05-22 08:25:40 +00:00
obrien
c2ff59c916 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
hoek
917cf672e9 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
obrien
ea10302aad callback.c is not really used, nor is it part of GDB 4.18. 2000-05-17 19:30:59 +00:00
bde
28e3098b49 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
bde
b0b0b64001 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
obrien
8cd37d7556 Use a alternate side 2.9.1 source tree while upgrading Binutils. 2000-05-12 22:55:23 +00:00
phantom
2de0a93149 mdoc cleanup: use .Nm macro correctly, don't non mdoc macro 2000-05-10 13:43:36 +00:00
kris
390c965a23 Update device references. 2000-05-07 09:23:36 +00:00
nik
f1e1048dfd 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
dfr
706084939e Add support for debugging programs using libc_r's implementation of
pthreads.
2000-04-29 09:03:49 +00:00
steve
343196d29d Add a new wishlist category. 2000-04-18 15:03:34 +00:00
obrien
9ecf56fe49 Perl lib configuration for IA-64 (along with PPC and arm32) 2000-04-17 19:44:57 +00:00
obrien
007ce13300 Fix the .PATH style nits. Other style nits left for later. 2000-04-17 18:50:18 +00:00
obrien
1599fce084 Use the non-asm routines for IA-64, PPC, and arm32 ports. 2000-04-17 18:48:31 +00:00
steve
c42b9409ef Add sparcnetbsd support and cleanup style so that this looks nearly
identical to Makefile.sparc.
2000-04-16 23:42:25 +00:00
steve
c637f38769 Fix a typo (aout32.o -> aout32.c). Add support for NetBSD/Sparc and
sparc64.
2000-04-16 23:39:46 +00:00
steve
effd0fca65 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
steve
12cd48ae48 Use the non-asm routines (for now) on the sparc and sparc64 ports. 2000-04-15 20:41:06 +00:00
sheldonh
64a7f96791 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
gj
f9d6885bc6 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
sheldonh
2cb0f4808e 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
9c96a3af95 Add support for sunos_big_vec to support 'make world's on Solaris
boxes.
2000-04-03 03:51:46 +00:00
steve
5a99709c25 Add support for the sunos_big_vec format as well. 2000-04-03 03:48:49 +00:00
steve
9560447fbd 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
6ae88f375e Enable Haifa on sparc64 as well. 2000-04-02 22:51:02 +00:00
steve
2e142113a1 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
969b28293d The ld directory is in ${SRCDIR} not ${BINUTILSDISTDIR}. 2000-04-02 20:23:58 +00:00
asmodai
0532ba1ec2 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
obrien
5baa08090e Get the installed headers list right. 2000-03-30 08:09:42 +00:00
obrien
1ff8e40995 Switch over to using the GCC 2.95 Objc library code. 2000-03-30 02:40:49 +00:00
bde
0c07470770 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
bde
3df6f40aa1 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
bde
21f9648373 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
bde
c41bd70980 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
8b90028c5d Update for gperf 2.7 2000-03-25 07:50:02 +00:00
mpp
4349d96d4a Fix a minor grammar problem. 2000-03-24 01:02:33 +00:00
obrien
13cef0c010 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
dan
1785dcce70 Wrap building of uucp related programs around NOUUCP knob. 2000-03-20 17:10:16 +00:00
peter
72ba83a59e 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
obrien
4f7c2f0496 Make the SUBDIR list more granular to assist in my GCC hacking. 2000-03-19 23:47:50 +00:00
ache
6c00572325 Add missing depend file 2000-03-19 23:07:39 +00:00
ache
f056d07b1a Install readline API info 2000-03-19 23:04:23 +00:00
ache
adf91cfcff Upgrade to 4.1
Minor bumped because new function added
2000-03-19 22:26:49 +00:00
obrien
e573ed6d85 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
obrien
e0445c9696 Move some cflag contents down to where they are acutally used. 2000-03-13 09:12:36 +00:00
markm
58159210bd 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
fc60a09c33 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
markm
608b5f8fbb Use libcrypto instead of libdes. 2000-02-24 23:15:42 +00:00
obrien
a9d506d5fb 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
ru
84567babad Merge FreeBSD changes into 2.4d. 2000-01-31 13:28:57 +00:00
ru
c55fd8f4cc 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
ru
04530d99c1 This is the stock GNU grep 2.4d file. 2000-01-31 13:26:10 +00:00
ru
4c73bf82d8 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
ru
f2470891be Virgin import of a trimmed down GNU Grep 2.4d. 2000-01-31 13:22:22 +00:00
obrien
6285d69ae2 The "INCDIR" required by the new header installation code in bsd.lib.mk
was not set correctly.

Ok'ed by:	JKH
2000-01-30 20:59:53 +00:00
obrien
fc44169a9a Retire Bison as it is not need to build GCC any more.
Ok'ed by:	JKH
2000-01-30 19:24:31 +00:00
markm
acbc2c26e9 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
obrien
99f643a265 "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
obrien
03a87d3c20 Move the header installation down into `readline' which is the subsystem
the headers are part of.
2000-01-29 12:01:52 +00:00
jasone
5b0f1318a3 Track internal(!) libc symbol naming change. 2000-01-28 08:49:23 +00:00
obrien
dd64f33471 Do not use "DEFAULT_VTABLE_THUNKS". The bugs that have existed since
EGCS 1.x have not been worked out.  And with 4.0 RELEASE comming quickly
we need C++ to be stable and usable.
2000-01-25 12:23:13 +00:00
archie
ee5114590e 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
obrien
b057923619 Merge cc_drv into cc_int. Merge more shared files into cc_int. 2000-01-24 20:12:05 +00:00
obrien
66353a5438 Simply cc_tools/Makefile by moving the parser generation to the respective
backends.
2000-01-24 09:17:09 +00:00
obrien
3ced96f0ca Style change to better match src/lib/'s Makefiles. 2000-01-24 08:44:30 +00:00
obrien
803231fc90 I *hate* using "i" in variables, looks too much like "1" or "l". 2000-01-23 22:46:00 +00:00
obrien
48f03e24d6 Minor style nits. 2000-01-21 02:09:43 +00:00
ru
ad8c72b589 Back out previous revision because someone upgraded our
texinfo system to one that understands "command{foo}".
2000-01-18 09:52:00 +00:00
ru
510efd0af6 Fix conflicts. 2000-01-18 09:46:39 +00:00
ru
5b9b49c3cd Virgin import of a trimmed down GNU Grep 2.4a. 2000-01-18 09:45:11 +00:00
ru
36e4acc766 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
ru
25fd4e5699 Oops, cleanup this a bit.
Forgotten by:	ru
2000-01-18 07:48:21 +00:00
green
0069d9dedc :%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
ru
2984036a34 Upgrade to GNU texinfo 4.0 2000-01-17 10:59:30 +00:00
obrien
6d9314376b Update for 1.0.5a. 2000-01-16 10:21:28 +00:00
obrien
9ba15dae5b 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
obrien
8144b5842a 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
obrien
8c318abb02 Make mktemp.c a "normal" C implimentation when building this library. 2000-01-13 04:55:41 +00:00
asmodai
7d4c4aa44c 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
asmodai
01774fb0da 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
asmodai
4224707d66 Add bmake glue for devhtml and grohtml of the groff package. 2000-01-12 13:14:27 +00:00
asmodai
9bba76a95d Allow grog to be made during compilation. 2000-01-12 10:31:55 +00:00
asmodai
de13757aab 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
green
f5d02a1957 This is the second half of unbreaking the world build. Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN.  I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.
2000-01-11 12:51:56 +00:00
green
db50f8609e *draws his sword*
I smite thee, vile buildworld breakage!

The story is that these were added to beforeinstall improperly.  In our
beforeinstall, a full mtree has not been populated.  Since the tree is
not populated, we explode from missing directories on doc install.  It
should not be done in beforeinstall (includes) anyway.
2000-01-11 12:37:57 +00:00
peter
295f94c3f5 Ack, missed a CVSHeader reference in a switch. *blush*
Submitted by:	ru
2000-01-11 11:55:26 +00:00
obrien
882cc3f153 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
jkh
6a14f98d40 This change was mis-identified as the problem, sorry. It appears to be
an anomaly restricted only to the alpha in FreeBSD-current (weird).
2000-01-11 03:27:33 +00:00
jkh
d57516bd4a Back out the previous change to install the examples - it breaks the release builds. 2000-01-11 02:18:33 +00:00
phantom
5a624ba378 Install contents of the TESTS subdirectory to /usr/share/examples/libdialog 2000-01-10 12:04:18 +00:00
phantom
db0722c827 Remove -lncurses and -lmytinfo from LDFLAGS 2000-01-10 11:54:55 +00:00
phantom
9705bf46f9 Cleanup warnings. 2000-01-10 11:52:10 +00:00
phantom
75e1a7fe31 Fix typo: MAINAINER -> MAINTAINER 2000-01-10 11:38:51 +00:00
phantom
073bba6f6b Completely reconstruct page. Make it mdoc(7) style compatible also :)
Page still needs some work about english refinements and some actualization.
2000-01-10 09:29:21 +00:00
phantom
27ab1d8799 install contrib/bc/Examples as /usr/share/examples/bc 2000-01-10 08:55:02 +00:00
jkh
5c653b6d35 Have to install from ${.CURDIR}, not ${.OBJDIR}. 2000-01-08 09:34:45 +00:00
phantom
371dd1e862 Install contents of the dialog/TESTS directory to share/examples/dialog 2000-01-07 13:35:10 +00:00
ru
1d546421a9 Decompression is supported via -Z, not -z. 2000-01-04 10:34:27 +00:00
ru
0c24bbce8c * 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
obrien
b17f749ed0 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
obrien
2e15e5c039 Update for version 2.4. 2000-01-04 03:37:56 +00:00
obrien
54e7afc455 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
obrien
6a9796d7d6 Merge FreeBSD chagnes into GNU grep 2.4. 2000-01-04 03:25:40 +00:00
obrien
d8d7d228e4 Virgin import of a trimmed down GNU Grep 2.4. 2000-01-03 21:09:05 +00:00
obrien
adcf442656 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
obrien
17e6cd20b8 Virgin import of a trimmed down GNU Grep 2.3. 2000-01-03 21:07:51 +00:00
obrien
8f037d3652 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
obrien
6275352f76 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
obrien
bbee5196db Egads! This still refered to contrib/egcs/ 2000-01-03 10:41:11 +00:00
obrien
424e26f8b3 Didn't get these PREFIX specifiers removed with Makefile.inc rev 1.48.
Submitted by:	marcel
2000-01-02 22:57:34 +00:00
ru
d8d8fe47eb 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
ru
7f7a140cbd 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
obrien
909b9c1e8a Honestly, really, really add a manpage for gasp. 1999-12-30 04:48:17 +00:00
obrien
ea37af3a71 Add a manpage for gasp. 1999-12-30 04:46:38 +00:00
steve
5d6d63f119 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
obrien
c34ec3d7da 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
obrien
b44d317152 Hookup the info docs. 1999-12-29 00:38:48 +00:00
obrien
f9f846550e Build and install the GASP info page. Unfortunately there is no manpage. 1999-12-28 22:32:24 +00:00
phantom
fdfdda53b9 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
obrien
f6e9d3853b Fix cut-n-paste braino. 1999-12-22 05:34:56 +00:00
obrien
8ed9d0ffe7 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
obrien
710e9c2403 Another style nit. 1999-12-22 02:16:21 +00:00
obrien
fe78d9d4b4 * 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
obrien
e54126e848 * 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
asmodai
1b1cb51117 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
obrien
21ba2a28bd 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
d44e2d4226 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
b05cb67442 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
jkh
b2296f0762 *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
7b128dcb9c Add libmd to LDFLAGS. libmd is needed by libcrypt. 1999-12-16 12:12:28 +00:00
jkh
e9b545322a Make the perl build a little less chatty.
Reviewed by:	markm
1999-12-16 11:21:08 +00:00
marcel
e32efbad28 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
d86e78f467 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
jkh
796518d068 Prevent spaces from being interpreted as accelerators. 1999-12-14 04:18:22 +00:00
peter
d65d419fc8 reactivate cvs subdir build 1999-12-11 17:32:07 +00:00
peter
ff090abf51 Update files generated by configure. 1999-12-11 15:12:37 +00:00
peter
25155fc40f Turn off cvs for a moment pending import of a newer version.. 1999-12-11 12:12:54 +00:00
marcel
542194f894 Don't make gdb, objc and f77 when building tools. 1999-12-09 16:40:27 +00:00
peter
5daf42a41b Add maintainer tags 1999-12-08 16:43:32 +00:00
obrien
3fcb837fdb Revert rev 1.8.
NOT Approved by:	obrien
1999-12-08 16:00:08 +00:00
marcel
4c9e0c201c Maintain compatibility with FreeBSD versions that don't have mkstemps 1999-12-08 13:53:16 +00:00
dfr
9ca6f15c21 Make this actually build with current sources. 1999-12-08 11:47:48 +00:00
dfr
280ae2df10 Build gasp (GAS Preprocessor). This is needed for building Glide. 1999-12-07 17:01:27 +00:00
marcel
21fa6c8d36 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
b5230160e7 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
obrien
4dbe46020b Call isspace() directly to get rid of an objectionable include. 1999-12-04 08:44:05 +00:00
obrien
63450d9255 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
66f5fff52e 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
obrien
7a78cadeb0 Arange the f* floating point instructions to match binutils 2.9.1. 1999-11-28 01:11:35 +00:00
obrien
8bee78f8e0 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
obrien
93b81d3874 Make ObjC bits optional. NO_OBJC ==> don't need `em. 1999-11-27 21:52:55 +00:00
phk
8efde88e33 s/dir.h/dir.c/ 1999-11-26 12:29:48 +00:00
obrien
1954c7fbc3 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
obrien
f6909a6280 Style changes -- whitespace and sorting. 1999-11-26 03:06:33 +00:00
obrien
46689ca7f0 * 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
obrien
7c10cc0dc3 GNU killed this sometime before 2.3. 1999-11-24 15:11:51 +00:00
ache
782625f5a2 Allow man to parse MANLOCALES but not to store it 1999-11-23 03:38:41 +00:00
ache
14a4cc52b1 #ifdef MAIN locale additions to build man 1999-11-23 03:34:17 +00:00
ache
4915a2f6a9 Use manpath -L for locales 1999-11-23 03:11:54 +00:00
ache
0ed5649adb Add -L: print MANLOCALES variable for man locales list 1999-11-23 03:06:18 +00:00
obrien
a3b4d655fd Missed two.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1999-11-22 20:03:01 +00:00
obrien
3ccdb9508c Virgin import of GNU Grep 2.3 [trimmed down]. 1999-11-22 10:31:17 +00:00
obrien
9fac48d9a6 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
obrien
18a6d48d57 Make the tests work again. 1999-11-22 09:48:04 +00:00
obrien
5c571858f0 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
obrien
18bbf176c8 Virgin import of GNU Grep 2.3 [trimmed down]. 1999-11-22 09:32:57 +00:00
obrien
c8848f1c67 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
obrien
26226a6af4 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
obrien
bf88c895db Build and install GNU Grep 2.3 docs. 1999-11-22 08:56:30 +00:00
obrien
fac3cf264f Virgin import of a trimmed down GNU Grep 2.3. 1999-11-22 08:53:32 +00:00
obrien
9edb70a516 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
obrien
613bde8bed Restore the 2.3 config file. 1999-11-21 19:10:50 +00:00
peter
a99b0d3deb 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
obrien
6cd5c97e1c Spell command names correctly. Even when they appear at the beginning
of a sentence.
1999-11-21 02:00:16 +00:00
obrien
dab516912f 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
obrien
b3e9799eb0 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
obrien
dc73649f52 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
obrien
7daab43137 Alias -R to -r for backward compatibility.
Submitted by:	ru
Requested by:	wosch
1999-11-21 01:09:03 +00:00
obrien
e237a6b4a1 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
obrien
3f3aac940d 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
obrien
6cd485fb34 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
obrien
fa89658480 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
obrien
b8583bbe6e 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
obrien
005b4899a6 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
obrien
176aae08a3 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
5354776cb2 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
obrien
ff47533fdb 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
obrien
a0fd1a8f5c 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
obrien
4e5bce5012 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
sheldonh
66c4ba0b28 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
obrien
6f0a47ff70 Allow sub-Makefile's to determine the version of the OS we are make'ing on. 1999-11-17 07:42:40 +00:00
obrien
3374c1fa22 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
obrien
4a93879dcf 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
obrien
f62e7fc20c Cut over the system compiler from from EGCS 1.1.2 to GCC 2.95.2. 1999-11-15 04:16:19 +00:00
obrien
b819c04855 Cosmetic change to match cc_tools/Makefile 1999-11-15 00:49:35 +00:00
obrien
64fbe577c7 Purely cosmetic changes to lineup targets. 1999-11-15 00:29:00 +00:00
obrien
e0f64d6da8 Cosmetic removeal of a trailing white space. 1999-11-15 00:25:01 +00:00
marcel
17ed6e05da ${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
jhb
cf1ce520a4 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
23856581a7 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
jb
ca5c8e5ca1 Replace freebsdelf with freebsd in BINDIR
Requested by: obrien
1999-11-07 08:07:02 +00:00
jb
81e20dd7c7 These have been repo-copied to i386-freebsd. 1999-11-07 06:13:35 +00:00
jb
9f72cef76d These have been repo-copied to alpha-freebsd. 1999-11-07 06:11:36 +00:00
jb
0fb7b21e57 Replace freebsdelf with freebsd in most places.
Requested by: obrien
1999-11-07 06:01:35 +00:00
jb
e4d1b59537 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
jb
e8b385afd6 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
jb
586165f5be Add support for additional architectures. 1999-11-06 22:52:33 +00:00
jb
5e8870e543 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
jb
7c5467e518 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
jb
e282132194 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
jb
7ed759d55a Add a BINUTILSDISTDIR hook here too. 1999-11-06 22:36:40 +00:00
jb
6e12da36ad 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
jb
6fdfa22232 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
jb
cd87b9d347 gas for powerpc targeted to FreeBSD. 1999-11-06 22:16:59 +00:00
jb
3d317a4c53 gas for m68k targeted to FreeBSD. 1999-11-06 22:14:26 +00:00
jb
bc08ddaec9 gas for sparc targeted to FreeBSD as ELF32 for a start (suject to change). 1999-11-06 22:12:24 +00:00
jb
011fa07f79 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
jb
f3f02229c7 Add the BINUTILSDISTDIR hook here too. 1999-11-06 21:55:33 +00:00
jb
6321dca496 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
jb
59dcf5a046 Add support for additional architectures. 1999-11-06 21:38:41 +00:00
jb
def8da7129 Add support for additional architectures. 1999-11-06 21:28:22 +00:00
jb
b1941ed9e5 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
jb
86e5daf08b 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
jb
d6ff5f1a9a 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
jb
b6a400c781 Add binutils support for additional architectures. 1999-11-06 21:02:48 +00:00
obrien
7620194553 Our capibilities updated for GCC 2.95.2. 1999-11-06 05:57:53 +00:00
obrien
7e7f6fec00 Minor cosmetic changes in an attempt to improve consistancy. 1999-11-04 04:46:04 +00:00