Commit Graph

2287 Commits

Author SHA1 Message Date
obrien
b7468a7aa6 Turn back on GDB.
gdbserver does not build, but I've gone about as far with GDB as I'm going
to right now.
2002-06-29 03:19:35 +00:00
obrien
6d18959306 Best guess at configurations for our other arches. (totally untested) 2002-06-29 03:18:28 +00:00
obrien
bccc48ed13 Allow to compile and at least startup on sparc64. 2002-06-29 03:16:40 +00:00
obrien
5b08ca4067 Bmake bits for GDB 5.2. 2002-06-29 01:16:01 +00:00
obrien
a57f7e9c1b There will be no GDB related .info files unless someone that cares about them
sends a patch.
2002-06-28 03:41:56 +00:00
obrien
9bd49da95a NO! We DON'T wany any libintl action here. 2002-06-28 01:33:53 +00:00
obrien
96be091157 Things Gdb 5.2 wants to know about us. 2002-06-28 00:34:05 +00:00
obrien
2a2dc51a0f NO_GDB while it is being upgraded. 2002-06-27 22:59:11 +00:00
eric
06ccdcb153 Correctly state the size of the help message.
Sponsored by: Apple
2002-06-24 20:57:44 +00:00
obrien
c9a4b1a696 For the benefit of those Emacs users amongst us, only cut out gdb.info
rather than *.info.
2002-06-22 17:10:53 +00:00
obrien
869675f0d7 When linking staticaly libtermcap is a postrequisite of libreadline.
Otherwise `tgoto' (only used by libreadline) isn't resolved.

Submitted by:	bde
2002-06-22 17:07:45 +00:00
obrien
b00a523877 Take the guaranteed fix -- turn off .info docs for now until we get the
gdb docs sorted out.
2002-06-22 16:52:34 +00:00
obrien
dbdad315d7 Grre-^#$(*+#@$!@% I hate .info files, I really do (thus I have NO_INFO set...)
Don't try to read files from a non-existant gdb.291/.
2002-06-22 08:08:51 +00:00
obrien
21d33c60ee We need to link with libiberty.a before libreadline.so. Both supply
xmalloc() and xrealloc() and the mixed usage of xmalloc in some .c's from
libiberty.a and other .c's from libreadline.so produces an unusable binary
on the Alpha.

While I am here, preventatively move other libs in the link order.

Submitted by:	gallatin
2002-06-21 19:05:20 +00:00
obrien
50073f7f07 Remove GAWK. I removed it from the build 2 weeks ago and the world
did not end.  So finish the deed.
2002-06-20 20:54:54 +00:00
dougb
07163fc999 Teach mdoc about the 4.6 release 2002-06-18 00:41:47 +00:00
obrien
2ea4410c3a Allow one to profile FORTRAN77 programs. 2002-06-09 00:03:56 +00:00
obrien
3ada71e5e9 Restore revision 1.15 (use profiled C++ libs) which wasn't on the WIP_GCC31
branch and thus was lost in the shuffle on the move to Gcc 3.1.
2002-06-08 19:58:31 +00:00
obrien
76c0185a05 Fix compiling FORTRAN77 programs. 2002-06-08 18:48:40 +00:00
ache
d083e24f35 Activate new GNU sort from contrib 2002-06-08 10:34:12 +00:00
obrien
f97a628f38 Read specs from /usr/libdata/gcc/specs if it exists. 2002-06-06 03:47:02 +00:00
obrien
0e6fa78891 The best we can do about man pages for the moment. 2002-06-05 21:30:46 +00:00
obrien
9356dd19a3 Search the "backward" C++ compatibility include dir also. 2002-06-05 16:10:59 +00:00
obrien
d38be2df22 We don't need bsd.dep.mk here. 2002-06-05 15:40:39 +00:00
ru
a7e4f3c2ed SUBDIR is initially empty. 2002-06-05 07:00:41 +00:00
ru
58882df7c3 Canonicalize. 2002-06-05 06:59:10 +00:00
ru
ad7019cf41 Back out addition of a plus sign.
DPADD and LDADD belong to individual makefiles.
2002-06-05 06:58:33 +00:00
sobomax
bb87166edf Collapse lib and tar dirs into single top-level directory.
Suggested by:   obrien
2002-06-04 21:16:18 +00:00
obrien
89416e5cf1 Remove GNU awk. 2002-06-04 21:14:34 +00:00
obrien
67a820c341 Install the i386 MMX headers, and IA-64 intrinsics functions.
Requested by:	peter
2002-06-04 20:00:29 +00:00
obrien
f12e3f2bd1 We don't need this library any more. 2002-06-04 19:45:09 +00:00
sobomax
2e5908cc89 Don't forget to include ../Makefile.inc. 2002-06-04 11:28:09 +00:00
sobomax
99ead316c2 Add bmake bits for building GNU tar from src/contrib/tar. 2002-06-04 11:14:49 +00:00
sobomax
0108b10757 Send our ancienv GNU tar into Attic.
Suggested by:	ps
2002-06-04 11:14:06 +00:00
ru
7502c92ec5 Do not overwrite mm locale files. 2002-06-03 15:12:42 +00:00
alfred
1d781d526a Check for defined(__i386__) instead of just defined(i386) since the compiler
will be updated to only define(__i386__) for ANSI cleanliness.
2002-05-30 07:00:42 +00:00
peter
2723f411f9 Put on peril sensitive sunglasses and turn C++ stuff back on. 2002-05-29 00:48:14 +00:00
obrien
aa218bddd8 I missed the setting of PREFIX_INCLUDE_DIR when I visually santity checked
the output from a autoconfig run.
2002-05-27 17:48:28 +00:00
bde
c96f5bc184 phsyical -> physical
Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-27 13:08:08 +00:00
ache
74a747af83 Remove /usr/share/perl/man 2002-05-24 03:21:11 +00:00
markm
f9be27fadd Remove ptx. It is not used anywhere in the base system, has not been
maintained for years and is very old code. If there is any need for
it, I suspect that ports would be a better place.

No objection from:	current@freebsd.org
2002-05-21 09:20:34 +00:00
gad
e904c77681 Change parts of the source code to make it closer to style(9), mainly
changing indentation and some comments.  Main goal is not perfect style,
but just to reduce differences with NetBSD.  The object code is exactly
the same after this change as before it (except for assert() statements
which have moved).

Reviewed by:	/sbin/md5 on i386
Obtained from:	NetBSD
2002-05-21 00:44:18 +00:00
obrien
f9c5ef03b2 This is only WARNS=0 clean now. 2002-05-19 18:25:41 +00:00
markm
f175d6cdc0 remove perl scripts from the build. 2002-05-18 19:47:57 +00:00
obrien
2c6771604f This is enough to get thru a cross-build. 2002-05-18 18:27:09 +00:00
obrien
562bc08939 The AMD x86-64 Hammer bits. 2002-05-18 11:57:01 +00:00
obrien
219a10b61f Segregate MD weirdness a little bit more. Improve cross buildability. 2002-05-18 04:59:57 +00:00
obrien
c656279c18 Style sync with other platforms. 2002-05-18 04:50:32 +00:00
obrien
2e68e3ea20 Use a more API denoting way to handle what is in libc and what isn't. 2002-05-18 04:49:44 +00:00
obrien
b17976f194 Don't build gperf. 2002-05-18 00:20:01 +00:00
obrien
e04dec43b9 Don't depend on gperf. 2002-05-18 00:18:00 +00:00
obrien
fded097c79 Remove some WIP bits that I didn't fully clean out before merging to HEAD. 2002-05-17 06:35:44 +00:00
ru
7eb6320da9 Back out revision 1.30 change.
cc1plus can apparently be built if you happen to have
/usr/bin/gperf, or set CXX to point to a C++ compiler
that can build gperf(1) in the bootstrap-tools stage
of buildworld.
2002-05-17 05:41:47 +00:00
obrien
022c693d0e Update to Binutils 2.12.0 and stick to the native emulation for now.
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:43:47 +00:00
obrien
f75ec02743 Update to Binutils 2.12.0 release. 2002-05-17 03:43:09 +00:00
obrien
89fa60dfa2 Update to Binutils 2.12.0 and stick to the native emulation for now.
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:10:33 +00:00
obrien
9cd3180274 Do not cut `docs' out of the build with NO_CXX.
There are no longer GNU C++ specific info files, and it was a bug with Gcc
2.95 that NO_CXX would cause the C and CPP info files to not be installed.
2002-05-17 03:00:33 +00:00
ru
f73111e0b8 MD_EXEC_PREFIX doesn't work for the cross-arch compiler.
The change also makes the `cc -print-search-dirs' output
sane (the pre-3.1 way) in the non-cross case.

Draft reviewed by:	obrien
2002-05-16 15:22:58 +00:00
ru
047114be39 Make it possible to build a cross compiler for alpha,
ia64 and sparc64 on systems that do not have atoll(3).
The "cross" here doesn't necessarily mean cross-arch.
2002-05-16 15:18:13 +00:00
markm
bdb30c1326 Remove the perl build. Farewell, old friend. 2002-05-16 09:57:11 +00:00
markm
4ce635974b Don't build perl. 2002-05-16 08:59:52 +00:00
obrien
4921665c1b Add x86-64 bits. 2002-05-15 22:40:50 +00:00
obrien
e15fa19c47 The IA-64 config needs to know that we are using GNU ld & as.
Submitted by:	peter
2002-05-15 21:59:46 +00:00
ru
fac60d5c35 Make sure to not yet build the GNU C++, but still allow
for the C++ progs to be built with e.g. an old compiler,
CXX=/usr/bin/c++, for the time being.
2002-05-15 16:29:45 +00:00
obrien
21545cc623 We won't be doing FreeBSD-NT (NTBSD?, BSDNT?) anytime soon.
Same for any m68k platform.
2002-05-15 09:11:11 +00:00
obrien
f76dc2c368 We aren't quite ready to switch emulations and loose the
override ELF_DYNAMIC_INTERPRETER requirement.

Has a good eye:	jmallet
2002-05-15 09:01:03 +00:00
obrien
fcb492bd78 We won't be doing FreeBSD/m68k or FreeBSD/rs6k anytime soon.
(not to mention these bits are still at the 2.9.1 level)
2002-05-15 08:33:41 +00:00
mp
ef747a208c Make our version tag unique due to our local changes.
PR:		19733
Submitted by:	sheldonh
MFC after:	3 days
2002-05-14 18:17:59 +00:00
ru
d48ffaae86 Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
ru
e68122e850 Removed now unused INTERNALSTATICLIB.
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
obrien
fa82c2e296 Restore some of the implementation from the Bmake gcc 2.95 bits.
In the end, I can do things more like the previous Bmake bits than was
apparent in the middle of the gcc31 WIP.
2002-05-13 03:27:03 +00:00
obrien
f96ca6b3b2 I was finally able to repeat the -j breakage on one of my machines. Fix it.
I borrowed some ideas from Ruslan, and made the style match cc_tools/Makefile
2002-05-13 01:54:26 +00:00
obrien
23379e9a5e Tidy up the cleanfiles. 2002-05-12 12:06:19 +00:00
obrien
ac699ac491 Fixes for building a.out bits.
Submitted by:	bde
2002-05-12 12:01:12 +00:00
obrien
9d6dc33e66 Sorry, I did not mean to turn collect2 back on yet. 2002-05-11 04:51:45 +00:00
obrien
55f52d3d8a Revert rev 1.3 -- I tested using the wrong build compiler. 2002-05-11 00:15:45 +00:00
obrien
91b373bef2 Actually we don't need any special YACC'ing here. The ones known to
Bmake are fine.
2002-05-10 23:20:54 +00:00
obrien
dd1e5b8cf2 BWK awk appears to work for world builds just fine now. We want to make
sparc64 the same as the other platforms -- so do it by moving the other
platforms toward the sparc64.
2002-05-10 20:36:21 +00:00
obrien
73eed8c90b Touching the sjlj setting on IA-64 makes things not build.
Submitted by:	peter
2002-05-10 17:42:19 +00:00
obrien
b86ac12ab5 Build compiler on all platforms. 2002-05-10 17:30:42 +00:00
obrien
907baa468c Doh! Add IA-64 to our target list. 2002-05-10 17:23:04 +00:00
obrien
17b961417f Gather up the stragglers that depends on genrtl.h. This is -j10 safe now. 2002-05-10 10:21:19 +00:00
obrien
7fa1c0407e This was *very* -j unsafe. Add a dependency on the common generated
headers to mostly make it -j1 safe.
2002-05-10 10:14:53 +00:00
obrien
7b2f8d7601 Bmake bits for Gcc 3.1.
Partially made possible by:	Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00
obrien
925ae29af1 Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
This is the ISO C99 one.
2002-05-10 02:46:01 +00:00
obrien
1733e96bb3 Turn off groff and gperf -- they will not compile with the in-tree Gcc 3.1. 2002-05-10 00:50:43 +00:00
obrien
d74d705613 Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
This is the traditional one.
2002-05-09 00:52:09 +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
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