Commit Graph

2158 Commits

Author SHA1 Message Date
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
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