Commit Graph

338 Commits

Author SHA1 Message Date
David E. O'Brien
4a92ca74bf Foo. jdp changed .so to .So during the time I did the EGCS work and I
missed bring in his changes into my work.
1999-04-15 08:08:56 +00:00
David E. O'Brien
a10a6b606b Create a libgcc with POSIX threads support.
Submitted by:	Luoqi Chen <luoqi@chen.ml.org> (reorganized by me)
1999-04-14 00:24:03 +00:00
David E. O'Brien
bed346f6bd Missed a "\" in a continuation line. 1999-04-08 09:13:39 +00:00
David E. O'Brien
61f6abe41d alpha/freebsd-elf.h has been merged with alpha/freebsd.h 1999-04-08 08:39:16 +00:00
David E. O'Brien
339895b8a0 Don't require gcc/config/${MACHINE_ARCH}/xm-freebsd.h when we already know
the contents of it.  Instead create it, so all arch's are consistent.
1999-04-08 08:19:28 +00:00
David E. O'Brien
de3f50824c Get stdargs right on the Alpha.
Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1999-04-08 07:37:13 +00:00
David E. O'Brien
86ab96055c Cometic cleanup.
Pre-bdelinted by:	bde
1999-04-08 07:20:33 +00:00
David E. O'Brien
10b66c2f42 Don't generate _G_config.h, use fixed version.
I knew better... too dependant on the environment we generate in, but...

This fixes the
/usr/lib/libstdc++.so: undefined reference to `filebuf virtual table'
/usr/lib/libstdc++.so: undefined reference to `stdiobuf virtual table'
errors seen after the initial bootstrap from gcc 2.7.2 to EGCS.

Agreed with by:	bde & jdp
1999-04-07 07:48:23 +00:00
David E. O'Brien
d63360da03 * Fix indentation style bug.
* Missed a "<" on the /dev/null redirection in the runtime-info.h generation.

Submitted by:	missing "<" by bde
1999-04-06 13:26:48 +00:00
David E. O'Brien
bc240ae595 Crap! I grabbed the wrong Makefile from the test machine. 1999-04-05 10:21:30 +00:00
David E. O'Brien
d52e4b9c1a Fix .for loop continuation lines style bugs.
Submitted by:	bde
1999-04-05 09:01:45 +00:00
David E. O'Brien
17673af376 Add iostream Info docs. 1999-04-05 08:07:41 +00:00
David E. O'Brien
b20c2a3948 _G_config.h is now dynamically created. 1999-04-05 01:16:03 +00:00
David E. O'Brien
3da8ad7260 Conditionalize one more i386'ism. 1999-04-04 20:47:33 +00:00
David E. O'Brien
8c1efc3ea6 Attempt to creating the right ``tm.h'' file for the Alpha. 1999-04-04 20:41:50 +00:00
David E. O'Brien
18ff6ae909 Minimum set of changes to switch from Gcc 2.7.2 (in contrib/gcc) to Egcs 1.1.2
(in contrib/egcs)
1999-04-04 16:36:35 +00:00
David E. O'Brien
fb018a3d1f Commit msg for rev 1.20 should probably have added that gnu/lib/libregex was
the only lib that was using the SHLIB_* values from gnu/lib/Makefile.inc.
Thus I simply added the to the Makefile here.
1999-04-03 22:54:47 +00:00
David E. O'Brien
7b7a0120f8 Makefile.inc was politing all subdir's with SHLIB_{MAJOR,MINOR} definitions.
Since we aren't keeping all the GNU libs at the same versions, this is
useless and causes us to build a shared libgcc, which we don't want to do.
1999-04-03 22:52:35 +00:00
David E. O'Brien
2862adb22e Add bits we were getting from gnu/usr.bin/cc/Makefile.inc. 1999-03-31 06:40:40 +00:00
David E. O'Brien
b3f059f4d5 Hookup libgcc at gnu/lib instead of gnu/usr.bin/cc
(libgcc was repository copied for me by Peter)
1999-03-31 06:30:40 +00:00
Bruce Evans
e06fbe492b Don't use backslash-newline to split the too-long line for
".Fn dialog_ftree ...", since my synopsis checker doesn't support it
and no other too-long .Fn lines are split.
1999-03-05 14:43:29 +00:00
John Polstra
f92bdbd010 Switch to using ".So" as the extension for PIC object files rather
than ".so".  The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.
1999-01-09 21:51:00 +00:00
Bruce Evans
757c94feaa Avoid using ld -O' (as in bsd.lib.mk). ld -O' seems to have caused only
non-problems for elf -- `ld -elf -O foo.tmp -x -r foo' apparently puts
the result in a.out so it has essentially no effect.
1998-12-27 17:25:27 +00:00
Bruce Evans
2f0c4e01f6 Removed rotten, unused implicit rules. The ld -O in one might have been
harmful if it were used.
1998-12-27 16:52:55 +00:00
Warner Losh
b4965dcd84 Add support for building on MIPS based systems. 1998-12-16 04:59:53 +00:00
Peter Wemm
3c343fc067 libg++ and libstdc++ also have internal calls to libm. Programs using the
shared versions should not need to add -lm unless the program uses libm
itself.  Strictly speaking, libg++ depends on libstdc++, but libstdc++
has dynamic dependencies on some exception tables and binutils doesn't
seem to like it when a secondary library has undefined references.  It
doesn't seem to care when -lstdc++ is added on the command line to ld
though.  Anyway, the c++ driver adds -lstdc++ explicitly, so that should
be OK.  c++ also adds -lm explicitly too, even though it wouldn't need
to now. [except for statically linked binaries as .a files don't have an
equivalent of automatic internal shared object dependencies.]
1998-10-11 04:56:03 +00:00
Peter Wemm
6c1d8f3fd8 Replace use of non-standard ld -O with a ld -o / mv combination as used
elsewhere in the tree.  Binutils doesn't support the -O hack^H^H^H^H
extension.  (actually, it ignores it for option compatability with some
other OS).
1998-10-06 11:28:29 +00:00
Jordan K. Hubbard
90103ada10 Add documentation for new tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:23:47 +00:00
Jordan K. Hubbard
8091c27e9f Add missing free().
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:09:12 +00:00
Jordan K. Hubbard
a53cd3d253 Add examples for tree functions.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:46 +00:00
Jordan K. Hubbard
0726f7f509 Add support for saved trees.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:36 +00:00
Jordan K. Hubbard
31f0cd629b Update tree function and remove gratuitous .h file.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-28 16:12:49 +00:00
Jordan K. Hubbard
92587d7333 Unbump the minor number; guess this doesn't happen in the ELF world
anymore and maybe we should nuke the meaning if MINOR altogether. :)
1998-09-28 00:52:53 +00:00
Jordan K. Hubbard
2a09091a34 Add some new functionality which I promised to add over a year a go and
shamefully dropped on the floor.  I need to add it now since it does a
minor number bump, but otherwise the current functionality of libdialog
is unchanged (in all its evil glory) and the change is non-intrusive.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-26 12:29:57 +00:00
Warner Losh
486a7ab25b Fix bogus length restriction on readlink. Use sizeof(buf) - 1 rather
than the size of the directory name.  Fix style bug which increased
the number of lines > 80 characters by one.

Pointed out by: bde
1998-09-10 16:14:29 +00:00
Warner Losh
1508e89cc6 Use size of structure rather than hard coded 256 in readlink. This change
either came from OpenBSD, or was inspired by work done there.
1998-09-09 17:12:58 +00:00
Martin Cracauer
270f65a70c Document why the library is still not being build as shared.
PR:		gnu/7811
1998-09-09 10:21:12 +00:00
Bruce Evans
9a15012667 Fixed munging of the SUBDIR list in rev.1.16-1.18. 1998-09-02 14:56:59 +00:00
Doug Rabson
2d9dae457a All libs build on alpha now. 1998-08-31 13:47:38 +00:00
Doug Rabson
11c0474d23 Get definition of va_list from <stdarg.h>. 1998-08-31 13:47:03 +00:00
John Birrell
8deb7ff0b0 BINFORMAT -> OBJFORMAT ready for E-day. 1998-08-30 01:57:55 +00:00
John Birrell
6bdef94d87 Change the aux field type to long instead of int so that it is large
enough to hold a man-sized pointer.
1998-08-20 21:39:28 +00:00
Bruce Evans
07b64a25d2 Use a different hack for building libgcc2: `XCC= ${CC}' instead of
`XCC= <relative cc> -B<path to relative cc1> ...'.  This is equivalent
when cc and cc1, etc. have just been bootstrapped by `make world'.
The relative versions normally won't work if the target system is
not binary compatible.  Bootstrapping different versions of gcc
without going through `make world' is slightly more broken than
before.

Uniformized macro names (P1OBJS -> LIB1POBJS, etc.).

Don't give full paths to sources.
1998-07-08 00:45:50 +00:00
Joseph Koshy
9c727d2ca9 Spelling corrections.
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
Eivind Eklund
97c44d070c Don't blow away parts of the sourcetree on a 'make clean'. This was
only harmful for building from a read-only filesystem - the parts
blown away were old rm'ed directories.
1998-05-24 21:51:50 +00:00
John Birrell
d73d5c86a3 Change the order of the include paths so that the architecture specific
directory is searched before the generic one. You can guess what was
happening.. all the world's assumed to be 32-bit.
1998-05-15 06:42:37 +00:00
Doug Rabson
bbba152305 This was broken for ELF builds. 1998-04-30 07:38:27 +00:00
Andrey A. Chernov
70fedb5298 Upgrade to 2.2 1998-04-28 07:16:24 +00:00
Bruce Evans
5317c2da24 Support building of libgcc.a without building all of gcc. This is
useful for bootstrapping.  Compatible versions of gcc and cc1 should
should be installed before using this feature.
1998-03-23 12:23:13 +00:00
Bruce Evans
1bcade7428 Don't use beforedepend to complicate and break things. The usual
fix of putting generated source files in SRCS breaks many special
cases (many dependencies had to be incomplete for ${.ALLSRC}
not to give .h files that would break compiling with c++ -c).
Reduce these special cases to the general case so that SRCS works
normally and bsd.lib.mk handles most of the complications.  Now
we only have to duplicate rules from bsd.lib.mk to add special
CFLAGS in some cases.
1998-03-20 15:10:59 +00:00