Commit Graph

713 Commits

Author SHA1 Message Date
Ken Smith
85a8b887df Bump the library version numbers for the following libraries:
/lib/{libm,libreadline}
	/usr/lib/{libhistory,libopie,libpcap}

in preparation for doing the same thing to RELENG_5.  HUGE amounts of
help for determining what to bump provided by kris.

Discussed on:	freebsd-current
Approved by:	re (not required for commit but something like this should be)
2004-10-01 15:38:07 +00:00
Peter Wemm
36716fe25b We *need* the pic libobjc library for amd64. It is needed for ia64 as
well, but I'll let Marcel decide whether he wants to build a .so or not.

Without this, building certain ports that use objc have fatal errors.
2004-09-29 23:42:44 +00:00
Ruslan Ermilov
401499ed99 Style. 2004-09-19 12:15:25 +00:00
Peter Wemm
3821a3d7ab Be explicit about which regex.h file we are including. This reduces the
need for hack workarounds in tools/lib32/build32.sh.
2004-09-16 01:39:13 +00:00
Ruslan Ermilov
1754e424a6 Fix a problem mentioned in the previous revision in a different,
non-intrusive way.  This should also fix the PowerPC build that
broke due to this change.
2004-09-10 06:48:04 +00:00
David E. O'Brien
d7ec0e6aca Add the .h files to the .o dependency lists so the .h's are created before
trying to build the .o's.
2004-09-09 20:47:58 +00:00
Ruslan Ermilov
1918cd64a5 Add atomicity.cc to CLEANFILES. 2004-09-01 08:17:20 +00:00
Alexander Kabaev
0d7a4fdf65 Add libgcov, a runtime support library for binaries compiled for basic
block profiling.
2004-08-14 03:23:24 +00:00
Alexander Kabaev
06f7731a1e Add missing patch which was forgotten during GCC 3.4.2 import. libgcc.a
gets most of it content back now, when symbols from LIB2FUNCS are actually
compiled.

Noticed by: Steve Kargl <gk at troutmask dot apl dot washington dot edu>
Pointy hat to: kan
2004-08-04 03:13:51 +00:00
Alexander Kabaev
81efba8c9e Bmake glue for GCC 3.4.2-prerelease. 2004-07-28 05:27:21 +00:00
Alexander Kabaev
2814077c60 We generate this file from config.h automatically. 2004-07-28 05:23:28 +00:00
Andrey A. Chernov
5a97c09c78 Update to match recent import 2004-07-06 00:10:40 +00:00
Tim J. Robbins
1700949687 Fix regression in new version of GNU regex code: bracket expressions
like [X-Y] should match all characters between X-Y according to the
locale's collating order, not by binary value. For now, this only fixes
the !MBS_SUPPORT case (which is the default).
2004-07-04 02:46:55 +00:00
Tim J. Robbins
20822a0b71 Merge local changes (addition of $FreeBSD$). 2004-07-04 01:07:38 +00:00
Tim J. Robbins
1a9b678f8d Import of GNU regex from GNU grep 2.5.1 (trimmed). 2004-07-04 01:03:02 +00:00
Tim J. Robbins
c690985767 This commit was generated by cvs2svn to compensate for changes in r131543,
which included commits to RCS files with non-trunk default branches.
2004-07-04 01:03:02 +00:00
Ruslan Ermilov
f97d4ddfed Mechanically kill hard sentence breaks. 2004-07-02 21:53:39 +00:00
Ruslan Ermilov
d37ea99837 Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
David E. O'Brien
8778c50c3d What is CVS doing to me?? 2004-04-21 15:43:26 +00:00
David E. O'Brien
03a6a16fec Add missing unique bits from libI77 v3.3.3's config.h.in.
The GCC developers separated out the configure header between libU77 and
libI77 and FreeBSD didn't keep up with the change.  So now this header needs
to be a superset of both sublib's configuration specification.

Notably this commit causes ftruncate(), fseeko(), and ftello() to be used.

PR:		22635
2004-04-20 15:33:00 +00:00
David E. O'Brien
43cbe2e9d6 Updated config.h for f77 3.3.3. 2004-04-20 15:09:59 +00:00
David E. O'Brien
c3f9b66e7a Add "subscribe out of range" support. 2004-04-20 14:01:29 +00:00
Ruslan Ermilov
45f05f025a Just pass -DCRT_BEGIN as an option to mkdep(1), no need to override
the entire command.
2004-03-06 07:34:51 +00:00
Eric Melville
5ee1d75f0a Test data before using it.
Of course, libdialog is still chock-full of similar bugs, but it's been
multiple years and no one has any better suggestions so the bugs will just
be dealt with case-by-case.

PR:	28221
2004-02-26 01:52:39 +00:00
Andrey A. Chernov
609991e87e Change warning hint to be more useful 2004-02-25 10:56:54 +00:00
Andrey A. Chernov
ddde411742 Add upgrade instructions 2004-02-25 02:59:26 +00:00
Andrey A. Chernov
a3625ac84d Upgrade to regex from grep 2.4.2 2004-02-25 02:41:15 +00:00
Andrey A. Chernov
f88175ccbf Merge conflicts 2004-02-25 02:39:10 +00:00
Andrey A. Chernov
6238c8eac7 Virgin import (trimmed) of GNU regex, from GNU grep 2.4.2 2004-02-25 02:27:50 +00:00
Andrey A. Chernov
9102b423ca This commit was generated by cvs2svn to compensate for changes in r126209,
which included commits to RCS files with non-trunk default branches.
2004-02-25 02:27:50 +00:00
David E. O'Brien
e23f8a5058 Allow to compile with non-GCC compiler. 2004-02-19 20:02:38 +00:00
Andrey A. Chernov
9fecffa391 Install gnuregex.h as wrapper for gnu/regex.h (with warning) 2004-02-18 22:09:34 +00:00
Andrey A. Chernov
0ba1614224 Install regex.h under include/gnu 2004-02-16 22:32:13 +00:00
Ruslan Ermilov
47d7e8a96f Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
Alexander Kabaev
4f6304398f Correct the atomicity.h fallback path on architectures which do not
define their own.
2004-01-06 19:20:30 +00:00
Alexander Kabaev
5187193bcc Do not install files which are not part of GCC 3.3.x anymore. 2004-01-05 20:59:05 +00:00
Andrey A. Chernov
9923fc419f Upgrade to 4.3 2003-08-31 19:15:35 +00:00
Gordon Tetlow
41d8423f71 Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
2003-08-17 08:28:46 +00:00
Andrey A. Chernov
94bfac9e80 Remove collate_range_cmp() stabilization, it conflicts with ranges 2003-08-03 04:36:09 +00:00
Alexander Kabaev
0810229e75 Including dynamically generated osreldate.h wasn't such a good
idea after all.

Fix cross-builds and ia64 builds. gnu/lib/csu/Makefile is modified to
pre-include osreldate.h and gnu/usr.bin/cc/cc_tools/auto-host.h
will avoid including sys/param.h if __FreeBSD_version is already defined.
2003-07-13 02:41:48 +00:00
Alexander Kabaev
e67810e696 Update bmake bits to build GCC 3.3.1-prerelease. 2003-07-11 05:37:23 +00:00
Alexander Kabaev
487ee93a17 Update for GCC 3.3.1-pre. 2003-07-11 05:33:24 +00:00
Alexander Kabaev
4346430319 Add unwind-c.c file required for -fexceptions in C sources. 2003-07-11 05:29:11 +00:00
Alexander Kabaev
03ffe3192e Change CFLAGS to more closely follow options used when GCC is built
from stock FSF sources.
2003-07-11 05:27:23 +00:00
Ruslan Ermilov
5497021b71 Catch up with bsd.lib.mk,v 1.143. 2003-06-30 19:11:20 +00:00
Peter Wemm
542f4d6282 Oops, remove hack to stop libstdc++.so being built now that gcc uses
-lgcc_pic by default on -fpic stuff.  I forgot about this here.
2003-06-26 01:30:44 +00:00
Dag-Erling Smørgrav
f212249acf Do not bogusly set CSTD to the empty string. 2003-06-14 13:30:32 +00:00
Peter Wemm
0800731a79 Build/install the PIC version of libgcc (libcc_pic.a) for use by shared
libraries that do exception unwinding.
2003-06-13 22:07:39 +00:00
Philippe Charnier
9703a107f2 The .Fn function 2003-06-08 09:53:08 +00:00
David E. O'Brien
0dd1486674 Something funky is going on here... disabling CSTD makes it go away... 2003-06-02 06:12:14 +00:00
David E. O'Brien
2295d19dd9 Don't set a C standard level for ObjC code. 2003-06-02 02:30:52 +00:00
David E. O'Brien
3dca32d865 Use ?= before someone brings it up. 2003-06-02 02:29:26 +00:00
David E. O'Brien
e56d2b1be6 crtstuff needs isn't compilable with C99 on Sparc64, so set CSTD to gnu89. 2003-06-01 22:18:05 +00:00
Peter Wemm
ed8c5dcdc0 libstdc++.so breaks on amd64 due to bogons in our build, so prevent the
shared library being built for amd64.  The problem is that libstdc++.so
is produced with 'cc -shared'.  This has an internal -lgcc, which is
not PIC.  libstdc++.so uses exceptions and the dwarf2 unwinder, which
are in libgcc.a.  As a result, non-PIC code gets pulled into libstdc++.so.
This is fatal on amd64 when certain relocation types cannot be used in
PIC mode.  The official FSF solution to this is to have libgcc.so with
internal ELF symbol versioning to solve the ABI problem, but I dont want
to fight that battle yet.  I tried making libgcc_pic.a (which worked
fine), but thats not something for the 11th hour before a release.

Approved by:  re (amd64 "safe" stuff)
2003-05-24 19:38:18 +00:00
David E. O'Brien
cd883fb617 Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
David E. O'Brien
d2f7262ed4 This is WARNS=2 clean. 2003-05-03 21:30:34 +00:00
Alexander Kabaev
93fa8833c7 Enable wchar_t support in libstdc++. 2003-04-29 18:10:45 +00:00
David E. O'Brien
7af330a71c Enable ISO-C99 compatibility -- among other things, this tells libstdc++
not to blindly undef isnan() and other functions that became macros in C99.
Enable use of newly grown C99 functions: strtof(), strtold(), wcstof()

Submitted by:	das
2003-04-25 21:17:31 +00:00
Marcel Moolenaar
f35f81b703 Forced non-forced commit by adding a comment mentioning what the
previous commit log should have mentioned:
PR: ia64/49081
2003-03-17 00:08:47 +00:00
Marcel Moolenaar
8fb9b278d9 libobjc is linked against shared objects and since we don't have a
shared object of libobjc, we end up linking in from the archive
version. This is wrong, because we don't compile the archive version
suitable for inclusion in shared objects. On ia64 this causes actual
breakages. Compile the archive version with PIC on ia64 to avoid
the breakage there and also to avoid changing the status quo on
other architectures. If other architectures have the same problem,
we probably should start building a shared library. There's no
indication however that other architectures actually need it.

Building the archive version with PIC on ia64 does pessimize linking
complete binaries (ie fully archive), but we don't use Objective-C
ourselves and so far I haven't seen non-shared executables written
in Objective-C, so I'm sure this will be nothing but academic.

Trigger case: ports/lang/gnustep-base
2003-03-16 22:44:01 +00:00
Ruslan Ermilov
9ef2a48e97 Only cross-tools may use TARGET_ARCH/TARGET, everyone else
should use the normal MACHINE_ARCH/MACHINE instead.
2003-02-27 09:19:31 +00:00
Alexander Kabaev
61856f3619 Update for GCC 3.2.2 2003-02-19 04:28:12 +00:00
Alexander Kabaev
efb75db1a4 Install one more header file which is new with GCC 3.2.2. 2003-02-10 06:09:55 +00:00
Alexander Kabaev
8e44609c92 C++ exceptions with shared libraries are working on sparc64 now.
Build shared libstdc++so on sparc64 platform too.

Approved:	re (rwatson)
2002-12-05 17:04:03 +00:00
David E. O'Brien
b7cea4d5d2 Update for Gcc 3.2.1 release.
We also have more wide char support in libc now.
2002-12-04 17:47:34 +00:00
David E. O'Brien
5f24279c5d Remove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.
Approved by:	re(jhb)
2002-11-27 18:52:04 +00:00
Alexander Kabaev
5f4c5b500f Build Objective-C runtime support library with thr-posix.c.
Submitted by:	davidc
Requested by:	obrien
2002-10-30 18:01:06 +00:00
Kris Kennaway
d0899afa3a Disallow libdialog to be used in setugid applications; it is chock full
of buffer overflows.

MFC after:      3 days
2002-10-12 20:32:03 +00:00
Peter Wemm
224af215a6 Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00
Mark Murray
826a6331a6 Avoid linting GNU contrib'ed stuff, even if the build engineer asked
for it (via WANT_LINT). It's Just Too Noisy.
2002-09-25 09:55:20 +00:00
Alexander Kabaev
c62e08e3ac Bmake bits for GCC 3.2.1-prerelease libstdc++.
Connect two new source and one header file to the build.

Approved by:	obrien
2002-09-17 04:23:29 +00:00
Peter Wemm
66422f5b7a Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
Garrett Wollman
bf153e6922 Quiet another annoying warning. 2002-09-09 17:44:08 +00:00
Alexander Kabaev
948dfbed43 Connect new files added with GCC 3.2.1 import to the build.
Approved by:	obrien
2002-09-01 21:21:56 +00:00
Ruslan Ermilov
d2893b161b Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
Ruslan Ermilov
0b87f79976 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
Peter Wemm
bfdf38fb57 Bandaid for sparc64. Do not build libstdc++.so for now on sparc64.
Binaries compiled with it segfault.
2002-07-08 10:53:35 +00:00
David E. O'Brien
a323cdf035 Disconnect the docs until we figure out if there are any with v3. 2002-06-19 05:38:45 +00:00
Doug Barton
ca2ca2ab60 In addition to exiting the dialog via ESC, the user could also have
exited via \r, \n, or ' ' (space); all of which are valid,
non-error responses.
2002-06-13 23:39:35 +00:00
Mike Barcroft
cb263c3594 Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union.  Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
David E. O'Brien
228433f751 Turn on the math function stub stubs.
Submitted by:	Martin Blapp <mb@imp.ch>
I believe OK with:	peter
2002-06-02 17:49:08 +00:00
Ruslan Ermilov
c82593cf2c The new bsd.incs.mk is powerful enough to handle this wrinkle. 2002-05-31 11:45:34 +00:00
Garrett Wollman
0d542a4797 Add used includes of <stdlib.h>. 2002-05-30 19:49:21 +00:00
David E. O'Brien
05811fcf3a Tweak so that .o's are written into src/contrib/gcc 2002-05-29 22:26:05 +00:00
David E. O'Brien
6a6659656a Build docs not out of libobc++.295 2002-05-29 21:14:48 +00:00
Peter Wemm
b5ad6294bb Add some build glue for libstdc++. I'm not a C++ person, but this seems
to work at least for the non-hairy stuff.  The main wrinkle here is that
a whole mess of include files get installed and under different names.
An earlier version of this built a shadow include tree first in the obj
directory, but this depends on the 'make includes' functionality.

More tweaking is certainly going to be needed.
2002-05-29 00:45:51 +00:00
David E. O'Brien
8881422a08 Alpha has crtfastmath also. 2002-05-26 17:16:21 +00:00
David E. O'Brien
4d4be121e8 Rev 1.12 broke make all' w/o a previous make depends'. 2002-05-26 17:09:31 +00:00
David E. O'Brien
a443e96e31 Fix the sparc64 build and make the LIB1ASMSRC handling more robust. 2002-05-18 09:46:12 +00:00
Poul-Henning Kamp
d2f7f45a57 Improve chances that we correctly compile LIB1ASMSRC on all architectures.
sparc64 looked for the nonexistent sparc64/lb1spc.asm file instead
of the sparc/lb1spc.asm file.

arm probably looked for arm/arm/lib1funcs.asm instead of arm/lib1funcs.asm
ia64 probably looked for ia64/ia64/lib1funcs.asm instead of ia64/lib1funcs.asm

i386 and alpha don't seen to use the LIB1ASMSRC.
2002-05-18 09:21:42 +00:00
Peter Wemm
aff1ee31b8 Move LIB1ASMFUNCS from the SYMS variable and explicitly add it to OBJS
later.  Otherwise make will try and build the supposedly assembler .o
files from libgcc2.c - which does not work too well (the .o's have no
content)

Reviewed by:	obrien
2002-05-17 08:59:13 +00:00
Peter Wemm
8c258dc6ba Put on peril-sensitive sunglasses and risk touching gcc related build glue
again.  Try and deal with platforms that provide their own crtbegin/end asm
files (ia64 for example).  crtstuff.c does not actually work on ia64 since
libgcc.a doesn't have a few key support functions when built on ia64 so it
is compulsory to use crtbegin.asm and crtend.asm.

Reviewed by:	obrien
2002-05-17 07:55:08 +00:00
David E. O'Brien
03083777d9 Post rev 1.39, the PowerPC specific additions to OBJS was getting lost. 2002-05-17 04:18:33 +00:00
David E. O'Brien
d781910a94 bsd.lib.mk now understands what to do with .asm files.
So we can refer to these files by their real name vs. playing tricks
renaming them during the build.
2002-05-17 03:08:15 +00:00
David E. O'Brien
ba2789556e GCC 3.1 on PowerPC also has the crtsavres C Run Time file. 2002-05-17 03:04:47 +00:00
Ruslan Ermilov
83f56d9ae4 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
David E. O'Brien
ee6b45631e Quote {CC} so ccache can be used. 2002-05-14 01:00:25 +00:00
Ruslan Ermilov
2020063860 Fixed CLEANFILES after bsd.lib.mk sweep. 2002-05-13 15:28:00 +00:00
Ruslan Ermilov
2a53f3fb35 Major cleanup of bsd.lib.mk.
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything.  Added a NOINSTALLLIB knob for libpam/modules.  To not
build any library at all, just do not set LIB.
2002-05-13 10:53:24 +00:00
Ruslan Ermilov
c75fbf36b1 NOLIB is gone; put INTERNALLIB back for now. 2002-05-12 16:35:34 +00:00
Ruslan Ermilov
c7b111cba8 Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
2002-05-12 16:01:00 +00:00
David E. O'Brien
357228d788 Properly build lb1spc.asm on Sparc64. 2002-05-12 14:05:58 +00:00
David E. O'Brien
d43e78d0c7 There is no more NOLIB. 2002-05-12 13:49:14 +00:00
David E. O'Brien
be60db5891 I was not strict enough with my ordering of things to satisfy make(1) nieve
symbol evaluation which causes it to be very sensitive to macro ordering.
2002-05-12 12:44:04 +00:00
David E. O'Brien
e20b0b7333 [Ab]use LDFLAGS rather than CFLAGS.
BDE tells me POSIX pretends `ld' as a directly callable entity does not exist.
2002-05-10 09:32:39 +00:00
David E. O'Brien
3cdd876f04 Bmake bits for Gcc 3.1.
Partially made possible by:	Wilko.Bulte@compaq.com
2002-05-10 08:54:50 +00:00
David E. O'Brien
94083430d8 Need to build libgcc.so with -nostdlib -- otherwise we try linking with
ourself.
2002-05-10 08:52:41 +00:00
David E. O'Brien
2fe1eb28ab All platforms should be on equal footing now -- no special handling for
Sparc64 and IA-64.
2002-05-10 00:49:55 +00:00
David E. O'Brien
dbda0c7715 Mostly filled in contents for GCC 3.1.
Bribed by:	peter
2002-05-07 01:16:04 +00:00
David E. O'Brien
ca15bbbfe3 Fill in the missing.
Bribed by:	peter
2002-05-07 01:13:32 +00:00
cvs2svn
a7b4ff14b9 This commit was manufactured by cvs2svn to create branch 'WIP_GCC31'. 2002-05-07 01:03:52 +00:00
David E. O'Brien
6ce0897d11 libstdc++ version 3 (Gcc 3.1 is a consumer) uses the typical `config.h'. 2002-05-07 01:03:51 +00:00
David E. O'Brien
68866c8c5b Mostly filled in contents for GCC 3.1.
Bribed by:	peter
2002-05-07 01:01:38 +00:00
David E. O'Brien
ae889c62a2 Dependencies on tconfig.h work better if we set GCCDIR when shelling
to other Makefiles.
2002-05-07 00:58:49 +00:00
David E. O'Brien
4466867fd8 Update for GCC 3.1.
Tested on:	alpha, sparc64, i386
2002-05-07 00:55:51 +00:00
David E. O'Brien
df411a300f Fix to work on sparc64 (which has an extra crt .o file). 2002-05-07 00:08:30 +00:00
cvs2svn
bc2fcd34bc This commit was manufactured by cvs2svn to create branch 'WIP_GCC31'. 2002-05-06 22:07:27 +00:00
David E. O'Brien
91004f18ea 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
David E. O'Brien
0537668b9b It is easier for me to debug with -I's at the rear. 2002-04-20 01:27:28 +00:00
Ruslan Ermilov
357bbe4abe -ltermcap is spelled -lncurses nowadays. 2002-04-09 13:04:31 +00:00
Peter Wemm
9d04791265 Unbreak world (missing .else)
Submitted by:   fenner
Pointy hat to:  obrien
2002-04-08 22:56:28 +00:00
David E. O'Brien
28def05c25 Some things don't compile on ia64 and sparc64 yet. 2002-04-08 20:36:39 +00:00
David E. O'Brien
af968949b1 Bmake bits for GCC 3.1.
Sponsored by:	bribe from peter
2002-04-07 09:30:05 +00:00
David E. O'Brien
5d8d0d50ca Deal with new TarGeT-specific CRT files.
(sparc64 introduced the first)
2002-04-06 19:13:25 +00:00
David E. O'Brien
0b3c5f4098 MFC: reorg. 2002-04-05 09:20:49 +00:00
David E. O'Brien
cdc9f8b9cd Style reorg. Also spell -fpic as determined by bsd.lib.mk. 2002-04-05 09:12:25 +00:00
David E. O'Brien
4d484dd742 Update for GCC 3.1.
(Alpha now uses crtstuff rather than the ASM verisons!)
2002-04-05 09:02:52 +00:00
David E. O'Brien
9bd6dcbf97 MFC: rev 1.4 (style reorg) 2002-04-05 08:54:28 +00:00
David E. O'Brien
e3e51a021c Style reorg. 2002-04-05 08:53:35 +00:00
John Baldwin
6662e3f437 Back out the previous revision for now. Instead, the current sparc64
Makefile changes are in the sparc64 p4 tree.
2002-01-07 19:27:50 +00:00
John Baldwin
7855d28a28 Don't build csu or libgcc on sparc64 for the time being. 2002-01-03 19:57:35 +00:00
David E. O'Brien
3a7789cfeb Working changes for GCC 3.0.2. 2001-12-18 03:11:35 +00:00
David E. O'Brien
0d4ffb0f07 Working changes for GCC 3.0.2.
We now fake out the native libgcc.mk + GNU autoconf'ed Makefile.
This gives us the flexability we will need to support our new arches
(StrongARM, Sparc64, PowerPC, and IA-64).  If this new way proves to
be too much a hassle, I still have a close-to-being-finished version
that is more like the 2.95 version of this file.
2001-12-18 03:05:22 +00:00
Ruslan Ermilov
973698b38b Fixed memory leak in dialog_gauge(3).
PR:		gnu/32260
Submitted by:	Igor Pokrovsky <tiamat@telegraph.spb.ru>
MFC after:	3 days
2001-11-29 07:42:13 +00:00
David E. O'Brien
aab8cd4cfe -v must have a space between it and the variable.
Submitted by:	David Wolfskill <david@catwhisker.org>
                (did I mention he should be a committer? :-) )
2001-11-01 07:11:10 +00:00
Ruslan Ermilov
eea399e3ac Removed mentions of TARGET_ARCH from non-cross places. 2001-10-04 14:13:16 +00:00
Bruce Evans
d703551558 Fixed missing return type in synopsis. 2001-10-03 04:01:51 +00:00
Ruslan Ermilov
32eef9aeb1 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
Eric Melville
ae0b7d588a Properly move cursor when home and end keys are used. 2001-08-31 01:56:06 +00:00
Dima Dorfman
3ec77b1f25 Remove libgmp build infrastructure. 2001-08-10 18:35:08 +00:00
Eric Melville
eb84be870e Handle keys consistently. 2001-08-09 01:14:09 +00:00
Ruslan Ermilov
4ad7956eb6 dialog(3) -> dialog_noyes(3). 2001-08-07 12:13:22 +00:00
Eric Melville
2180c55b9c Update man page to actually match the source.
PR:		7456
2001-08-01 06:23:00 +00:00
Dima Dorfman
7bd0b86765 Enable the new libmp in the build, and disable libgmp and its
henchmen.
2001-07-29 08:58:22 +00:00
Eric Melville
5dc547c27e Properly update cursor position when the list is scrolled. 2001-07-26 05:35:19 +00:00
Eric Melville
b48baf886a Handle keys consistently. 2001-07-26 03:34:43 +00:00
Eric Melville
87aaead2f8 Improve the interface provided by libdialog. Move a cursor around over
the components and trigger actions based on its position. This reduces
the need to remember the functions of various keys, and makes the
interface more consistant across library.
~
2001-07-18 05:21:37 +00:00
Ruslan Ermilov
63919764c2 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:42:19 +00:00
Brian Somers
7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Andrey A. Chernov
dbc227c682 Pick manpages from their original locations 2001-04-21 22:05:33 +00:00
Ruslan Ermilov
eb0838029f mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
Andrey A. Chernov
465ccb3095 Install history.3 as rlhistory.3 to not conflict with existing libedit function 2001-04-12 09:54:44 +00:00
Andrey A. Chernov
74874d04e1 Upgrade to 4.2 2001-04-11 03:49:54 +00:00
David E. O'Brien
2defcd687a Add libiberty. This is needed on the Alpha by the iprobe port.
I have held this back for over a year, as we will always have to wrestle
with the question of "*which* libiberty sources to use".  Sigh, if only
the GNU people would treat it as a totally separate library from GCC, et al.
and release it as such...
2001-03-31 07:02:02 +00:00
Ruslan Ermilov
e5ac5644e2 MAN[1-9] -> MAN. 2001-03-27 14:59:06 +00:00
David E. O'Brien
063e57d574 Sigh. I should know better than to commit a one line change from a PR
w/o a full compile test, even when the PR seemed so authoritative on the
subject...

Install sstream, not the non-existent sstring.
2001-03-24 09:01:31 +00:00
David E. O'Brien
59b2f92653 Install sstring.
PR:		25927
Submitted by:	Jeremy Norris <ishmael27@home.com>
2001-03-24 08:19:31 +00:00
David E. O'Brien
2371a10cb2 Garbage collect these ancient bits. 2001-03-24 08:15:22 +00:00
Jordan K. Hubbard
5c0ebacbcd Properly orient the buttons for yes/no and no/yes so that POLA is
observed.  This fixes the "no/yes box jumps buttons around" problem.

PR:		gnu/24487
Submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
2001-02-24 18:52:56 +00:00
Ruslan Ermilov
d0353b836e mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
Ruslan Ermilov
b77b3c00be mdoc(7) police: Ft/Vt now accept punctuation-type arguments. 2001-01-12 15:46:56 +00:00
David E. O'Brien
3f6014e672 Use a unified libgcc rather than a seperate one for threaded and
non-threaded programs.  This provides threaded programs with the
needed exception frame symbols.

parts submitted by:	Max Khon <fjoe@iclub.nsu.ru>
PR:	23252
2001-01-06 06:16:31 +00:00
Ruslan Ermilov
1c232e52cd Prepare for mdoc(7)NG. 2000-12-27 13:59:17 +00:00
Jordan K. Hubbard
e6657d443e Add a new function, dialog_noyes(), for sysinstall to be able to
present questinos with a different default answer.  Somebody submitted
a patch to me once which did something this but I lost it (my bad) so
I'm just going to re-implement it with thanks to whomever it was who
gave me the idea.
2000-12-14 02:35:22 +00:00
David E. O'Brien
07ec877253 Don't compile libgcc_r twice. 2000-11-25 13:04:08 +00:00
David E. O'Brien
d96d20c397 Don't build libgcc_r if "NOLIBC_R" defined. If you don't have a threads
safe libc, having a threads safe libgcc isn't of much use.
2000-11-25 01:25:35 +00:00
Ruslan Ermilov
48d1139d2a mdoc(7) police: Add a missing `.Sm on' request. 2000-11-21 18:18:46 +00:00
John Polstra
9a281c0b96 Tell libgcc_r how to initialize a mutex before it uses it. This
fixes the immediate segmentation violations from some multithreaded
programs built on very up-to-date systems.
2000-11-01 01:18:27 +00:00
David E. O'Brien
1d266bf638 Quiet -Wall. 2000-10-31 11:36:33 +00:00
David E. O'Brien
bd6216a121 GCC uses .asm files on the Alpha for crt{begin,end}.o rather than
crtstuff.c as they do for other platforms.

Moral support from:	jdp
2000-10-31 01:06:28 +00:00
David E. O'Brien
ae7c8a2bb8 * Bring back the guts of crt{i,n}.S. This allows C++ exceptions to work
when using the egcs and gcc-devel ports, along with GCC built from stock
public FSF sources.  With out this change, FreeBSD will be removed from
the list of systems GCC 3.0 must be evaluated on before release.  With
the effort some of us put into getting FreeBSD on this list, we should
not turn this effort into a waste, else we might not be worth fighting
for in the future.  (note that Alpha and IA-64 versions of crt{i,n}.S
are needed)

* Switch from our own crt{begin,in} to those created from GCC's crtstuff.c.
This will allow us to switch to DWARF2 exceptions in the future, along with
staying in sync with any future GCC requirements.

* Break out our ELF branding bits into a seperate file.  Currently this
is now included by our crt1.c files (since this functionality was part of
our native crtbegin.c).  Later crtbrand.o will be merged in the creation
of crti.o.
2000-10-28 21:26:48 +00:00
David E. O'Brien
51b7e77252 Add "NO_CXX" knob to match src/gnu/usr.bin/cc/Makefile. 2000-10-24 11:25:28 +00:00
Brian Somers
f91f965e85 include <sys/types.h> 2000-10-15 20:49:53 +00:00
Andrey A. Chernov
22ed5ae46b Remove unneded -lmytinfo 2000-09-16 04:27:30 +00:00
David E. O'Brien
c8a1d5ccc3 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
David E. O'Brien
7dbaee2f0e Fix the .PATH style nits. Other style nits left for later. 2000-04-17 18:50:18 +00:00
David E. O'Brien
c3cba445af Use the non-asm routines for IA-64, PPC, and arm32 ports. 2000-04-17 18:48:31 +00:00
Steve Price
aa50d936fd Use the non-asm routines (for now) on the sparc and sparc64 ports. 2000-04-15 20:41:06 +00:00
David E. O'Brien
075b6c4f13 Get the installed headers list right. 2000-03-30 08:09:42 +00:00
David E. O'Brien
2baad49d8e Switch over to using the GCC 2.95 Objc library code. 2000-03-30 02:40:49 +00:00
David E. O'Brien
ac419355a1 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
Andrey A. Chernov
d06b2e8f8f Add missing depend file 2000-03-19 23:07:39 +00:00
Andrey A. Chernov
c704dd3fe4 Install readline API info 2000-03-19 23:04:23 +00:00
Andrey A. Chernov
f5306c7c0a Upgrade to 4.1
Minor bumped because new function added
2000-03-19 22:26:49 +00:00
David E. O'Brien
d40db6b279 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
David E. O'Brien
249e73f997 Move the header installation down into `readline' which is the subsystem
the headers are part of.
2000-01-29 12:01:52 +00:00
David E. O'Brien
3b9aa3617c 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
Brian Feldman
559048567a 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
Brian Feldman
c9215ae2ed *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
Jordan K. Hubbard
7207f9e28e 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
Jordan K. Hubbard
6ea1a2ddfc Back out the previous change to install the examples - it breaks the release builds. 2000-01-11 02:18:33 +00:00
Alexey Zelkin
54294f4494 Install contents of the TESTS subdirectory to /usr/share/examples/libdialog 2000-01-10 12:04:18 +00:00
Alexey Zelkin
52a7c4d030 Remove -lncurses and -lmytinfo from LDFLAGS 2000-01-10 11:54:55 +00:00
Alexey Zelkin
c11c0da371 Cleanup warnings. 2000-01-10 11:52:10 +00:00
Alexey Zelkin
d5083ac4a1 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
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
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
Jordan K. Hubbard
34fa097361 Prevent spaces from being interpreted as accelerators. 1999-12-14 04:18:22 +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
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