Commit Graph

2748 Commits

Author SHA1 Message Date
obrien
27451ae887 GCC's libstdc++ version 3 has the "libgcc" like bits (start up / terminate
code, `new' handler, exception handling, etc.) split out into libsupc++.
2002-05-06 22:07:26 +00:00
obrien
b988998e26 Add support for using the profiled versions of the C++ (and related) libs. 2002-05-01 19:19:22 +00:00
gad
1568d5ff24 Add many prototypes and ANSI-ize 'patch. Not a complete job of it, but it gets
our patch to look a little more like NetBSD's, and has the nice characteristic
that the object code is exactly the same after the change as before it (even in
patch.c and pch.c, which have pesky 'assert' statements in them).

Reviewed by:	/sbin/md5 on i386, alpha, sparc64
MFC after:	3 days
2002-04-28 01:33:45 +00:00
gad
a137e4b8ef Add FreeBSD id's to these files, in advance of a separate update.
MFC after:	3 days
2002-04-28 01:26:40 +00:00
eric
4c5284a3e9 Move ID tag. 2002-04-27 19:57:22 +00:00
gad
364c153110 Modify our 'patch' utility to recognize the
\ No newline at end of file
line that some versions of diff print out if the last line of the two files
are different, and one of the two files does not have a newline character
on that last line.

This change is still somewhat under discussion in -arch and -standards, but I
want to commit it to -current today so I'd have the chance to MFC it to -stable
before the code freeze for 4.6-release (which would be May 1st).

Note: the related change to 'diff' (so it might *generate* that line) is NOT
expected to be included in 4.6-release.  We can debate that change later.

Obtained from:	NetBSD (1.13 of basesrc/usr.bin/patch/pch.c, by kristerw)
MFC after:	4 days
2002-04-26 19:01:19 +00:00
ru
99be26b20c Milestone #1 in cross-arch make releases.
Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld.  For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1.  Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment.  KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules.  GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists.  Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories.  This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage.  Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists?  (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>
2002-04-26 17:55:27 +00:00
eric
aadaaca5b9 When a compound section name is specified, search for pages that actually
match the requested section. Previously, the section would be trimmed and
every entry matching the page name would be displayed.

Sponsored by:	Apple
2002-04-24 20:07:06 +00:00
obrien
256aa60f28 Don't use "GCCDIR" as the multiple inclusion protector. Subdir Makefiles
may want to override GCCDIR and this gets in the way.
2002-04-23 00:10:18 +00:00
markm
6962a37803 Remove my MAINTAINER= from here, as it is in src/MAINTAINER 2002-04-21 08:03:25 +00:00
markm
3539b97a37 Tidy up some of the configs; s/gcc/cc/ to make the choice of C compiler
more generic. Fix paths for things like scripts (fix perldoc). Tweak
externally passed macros.
2002-04-21 08:01:31 +00:00
obrien
e7007d1009 It is easier for me to debug with -I's at the rear. 2002-04-20 01:27:28 +00:00
ru
44eaf0382b Replaced exists() tests with two equivalent defined().
LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.
2002-04-18 07:01:35 +00:00
ru
5436d67ec0 *sigh* Really fix a typo.
Submitted by:	bde
2002-04-16 06:34:59 +00:00
obrien
d08f2b3e07 Fix typo. 2002-04-15 21:57:40 +00:00
obrien
2907ed66a5 Turn off collect2.
collect2 was added based on the need of -frepo.  However, -frepo is currently
broken on -CURRENT (Gcc 2.95.4 20020320 [FreeBSD] / ld 2.12.0 [FreeBSD]
2002-04-10).  It is also broken on RELENG_4 (Gcc 2.95.3 20010315 / ld
2.11.2 20010719), so there is no need to MFC collect2 there yet.  I have
a feeling the brokeness is due to the wide difference between the libiberty
bits of Gcc 2.95 and the later ld.

Testing by:	fjoe
2002-04-15 03:15:40 +00:00
ache
11250ba171 Re-add sort spammed in v1.62 2002-04-13 05:49:33 +00:00
eric
2603e6f505 Fix compilation in the non-FreeBSD case.
Sponsored by:	Apple
2002-04-13 01:17:21 +00:00
obrien
47efac5bca Updated to a 10-April-2002 2.12 branch snapshot.
This fixes serious problems in ld's symbol handling.
2002-04-12 19:59:42 +00:00
obrien
691fb467a5 Use PTRACE_ARG3_TYPE of caddr_t.
Obtained from:	gdb 5.2
2002-04-11 20:42:13 +00:00
obrien
81ac88b67a In the cross case we need to provide TARGET_MACHINE. 2002-04-11 18:40:37 +00:00
ru
1e42a324ea Revert the last change and mark the program as PROG_CXX. 2002-04-11 11:06:06 +00:00
ru
49839f7c5a Use the new PROG_CXX knob. 2002-04-11 11:02:41 +00:00
obrien
4271e36f56 In the cross case we need to provide TARGET_MACHINE. 2002-04-10 02:20:48 +00:00
obrien
0068a2f556 Change YACCing.
Submited by:	ru
2002-04-10 01:48:47 +00:00
obrien
e94c4a342e Back out most of revision 1.59. 2002-04-10 00:18:14 +00:00
ru
bbddf07ee8 -ltermcap is spelled -lncurses nowadays. 2002-04-09 13:04:31 +00:00
peter
39d80bde8c move gperf to NO_GXX section, it works fine on ia64. It just needs a
c++ compiler.
2002-04-08 22:58:52 +00:00
peter
3a29e186b5 Unbreak world (missing .else)
Submitted by:   fenner
Pointy hat to:  obrien
2002-04-08 22:56:28 +00:00
ache
38e6b91ff2 Get decimal point from locale 2002-04-08 22:00:28 +00:00
ache
ff78de4dfd Connect sort 2002-04-08 20:46:44 +00:00
obrien
d79022e641 GCC and Gperf do not work on ia64 or sparc64 yet.
Also do not try to compile Groff if NO_CXX is set.
2002-04-08 20:38:56 +00:00
obrien
f084232367 Some things don't compile on ia64 and sparc64 yet. 2002-04-08 20:36:39 +00:00
obrien
f9485f9f6d Fine! I cannot freaking take the bikeshed any more.
These binaries will be static, peroid.
2002-04-08 18:48:38 +00:00
ache
b4d96b8690 Revive GNU sort 2002-04-08 12:12:07 +00:00
ru
a25fc19573 Add .Fx entries for upcoming 4.6 and forthcoming 4.7.
Requested by:	asmodai
2002-04-08 11:20:50 +00:00
peter
0bd251c9f6 Add -lstdc++ to the link args for these C++ tools so that they can be
compiled with gcc-3.1.  Somebody thought it was a good idea to move
the implementation of new and delete from libgcc to libstdc++.  This
change doesn't harm the current compiler in the tree.
2002-04-07 02:40:55 +00:00
peter
ef2fe30f34 Bandaid for LP64 machines where 'warning: cast to pointer from different
sized integer' bites.  The various malloc functions return pointers,
but without any prototype/declarations visible to callers, the compiler
expects them to return int.
2002-04-07 01:44:24 +00:00
obrien
3c23c3f0f8 Break some things used by the front-ends from Makefile.inc that cannot
be used build-wide for GCC 3.1.
2002-04-06 23:16:26 +00:00
obrien
a32c0068e9 Build and install collect2. This is needed for some C++ programs. 2002-04-06 23:12:46 +00:00
obrien
1934a8f429 Break some things out of Makefile.inc that cannot be used build-wide
for GCC 3.1.
2002-04-06 22:37:19 +00:00
obrien
24b4a789c8 Expand the toolchain a little bit.
Requested by:	fjoe (collect2), des (protoize)
2002-04-06 09:35:06 +00:00
obrien
d5ef5257fd A little more reorg. 2002-04-05 10:23:19 +00:00
obrien
22f43b6669 Style reorg. Also spell -fpic as determined by bsd.lib.mk. 2002-04-05 09:12:25 +00:00
obrien
d0cf246923 Style reorg. 2002-04-05 08:53:35 +00:00
obrien
110cae7915 Minor reorg. 2002-04-04 19:36:33 +00:00
obrien
724cc3b5fb Minor style tweak. 2002-04-04 19:26:13 +00:00
des
2486250464 Document new categories.
Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
MFC after:	3 days
2002-04-04 18:31:36 +00:00
obrien
ace3b78c37 Remove some local cruft that snuck in yesterday. 2002-04-04 18:24:56 +00:00
obrien
5bf13ac819 Make the sed line a little bit more clear (it will get messier later). 2002-04-04 01:25:26 +00:00