Commit Graph

482 Commits

Author SHA1 Message Date
tv dfeb862ca8 Add definitions for mipseb and mipsel, and remove mips. Map Pmake's
MACHINE_ARCH definition of mips to mipsel.
1998-07-27 01:03:48 +00:00
mycroft 8321e6eb66 No need for libreadline any more. 1998-07-25 11:21:24 +00:00
mycroft ab77ad5ad3 We don't need this any more. 1998-07-25 11:20:40 +00:00
mycroft dde7581d31 This file is not used. 1998-07-25 05:37:13 +00:00
thorpej 84c26d49f4 Add elf32-i386 target. 1998-07-18 01:00:17 +00:00
thorpej e97c021b99 Update to match config.bfd. 1998-07-12 19:15:21 +00:00
thorpej 33872f4fd5 Update for change to m68k4k NetBSD target. 1998-07-12 19:09:29 +00:00
thorpej 2921f683ae Add elf32-m68k support. 1998-07-12 18:53:31 +00:00
tv 3c9123a555 Add ELF32 support for reading and writing. ELF64 not yet working (may
require import of 2.9.1 first).
1998-07-01 02:12:11 +00:00
tv 1f999e261f Increment minor version to indicate addition of proper ar(1) support. 1998-05-25 20:24:37 +00:00
tv f970339892 Fix botched assumptions about alignment of data elements: files are
aligned, but on word-at-filesize bytes instead of word-at-filedatasize
bytes.  That's actually a bug in binutils 2.8.1 wrt 4.4BSD archives that is
fixed here.
1998-05-25 18:57:23 +00:00
tv da925af9ad Integrate NetBSD arm32 diffs for gdb. Now compiles and works `out of the
box'.  Use new GNU_ARCH remapper.
1998-05-22 17:17:59 +00:00
tv 170952480e Make archives work for both 4.4BSD a.out and SVR4 ELF style archives:
introduce a flag that tells bfd not to align ar(1) headers on word
boundaries.
1998-05-22 14:08:22 +00:00
tv 296206fdb8 Workaround nm and .c.a bogons by renaming libbfd.c to lib_bfd.c explicitly 1998-05-22 03:26:28 +00:00
tv f5f26ced19 Enable building libbfd for arm32, and use new source files. 1998-05-19 19:59:58 +00:00
mycroft 0b01550a65 Run gen-params to build _G_config.h at build time. 1998-05-06 11:59:09 +00:00
tv 24dc95d50d Add the .cc(.NULL) overrid used for libgcc 1998-04-12 14:18:41 +00:00
veego 7eff266c41 Add a cleandir target to the clean target. 1998-04-12 13:59:28 +00:00
tv cd87299ab8 add NOLINT 1998-04-10 19:35:22 +00:00
tv 09339bcf7b Fix fix for compiling under gcc 2.7. 1998-04-09 01:32:08 +00:00
tv 263bb693f0 Make libstdc++ skip build without bombing if the bootstrap compiler is gcc
2.7 and not egcs.
1998-04-09 00:06:09 +00:00
tv 38aa1f3401 Build gcc stuff unless USE_EGCS is set (transitional mechanism) 1998-04-09 00:05:14 +00:00
tv 24d49e55a0 Some sources and includes missing, and stl includes install directly into
/usr/include/g++ (not /stl).
1998-04-08 23:39:05 +00:00
tv 07b4e86106 Reengineering of libf2c as a single library (which g77 expects). Includes
a GNU-like "config.h" to make the librare correctly compatible with
NetBSD.
1998-04-03 21:04:33 +00:00
tv 92af5566c0 Remove split libf2c, in preparation for a properly merged libf2c. 1998-04-03 16:32:27 +00:00
mrg 3ada186343 build a shared library, new major version from old. XXX 1998-04-02 05:56:34 +00:00
mrg a2f0e60db6 add shlib_version files 1998-03-31 02:56:43 +00:00
mrg 7d1a6f60e4 support for building fortran libraries. 1998-03-30 03:06:39 +00:00
mrg 85e2ec8154 add fortran library support. 1998-03-30 03:00:19 +00:00
mrg 6e7bb89951 building libstdc++ from the egcs sources in gnu/dist/gcc... 1998-03-29 11:40:13 +00:00
cgd 3319009221 thise gdb doesn't build on the arm32, so don't build it or its libraries. 1998-03-16 18:30:44 +00:00
jonathan 12986acb08 Mips uses ELF. Add !defined(__mips) to the toolchain-dependent
``#ifndef __alpha''s in  _G_config.h and to the source in libg++2netbsd.
1998-02-26 02:26:27 +00:00
mellon c8ddea2651 Names have no underscores both on Alpha and on mips (from Jonathan) 1998-02-25 18:06:24 +00:00
cgd 0924c4443d Make sure the reason that NOLINT is set is documented. Additionally
in places where it should be set (or has to be set right now), do so.
1998-02-19 02:17:05 +00:00
mycroft bfea7a2499 Nuke echo_objdir from orbit. 1998-02-14 20:57:21 +00:00
gwr 77f5bb0a92 Fix pasto. OPCODE_SRCS=... dis-buf.o disassemble.o
was supposed to list the .c files.  Does now.
1997-11-14 04:33:10 +00:00
phil c9b92bdc9a ns32knetbsd_vec -> pc532netbsd_vec 1997-10-29 03:45:40 +00:00
thorpej b3c0946338 Build bfd and readline on the Alpha, too. 1997-10-27 00:25:05 +00:00
is 4f39b41b04 Workaround for Sparc alignment problem. From PR 3417 by Krister Walfridsson.
XXX Somebody should look deeper into this.
1997-10-26 14:46:31 +00:00
lukem 0c77c25043 use CPPFLAGS instead of CFLAGS 1997-10-25 09:27:04 +00:00
thorpej 86ed76b106 Need to -I. to get generated .h files (needed for Elf targets). 1997-10-25 01:50:36 +00:00
cjs 1a41da404a Don't compile bfd, readline on alpha. 1997-10-23 18:15:04 +00:00
ragge c700804dcb Fixes to make new gdb compile on vax. 1997-10-20 12:44:24 +00:00
jonathan 19cafbfa6c Clean out 64-bit targets from TDEFAULTS and BFD_BACKENDS. 1997-10-19 10:44:54 +00:00
gwr 89befe9159 Remove 64-bit targets from SELECT_VECS also 1997-10-19 04:14:01 +00:00
jonathan 80d7cee8ca Disable 64-bit BFD support on mips as noted in _mips.mk:
Cannot support 64-bit targets  with gdb 4.16.
 They assume that  BFD_ARCH_SIZE is 64, but that causes bfd_vma_addr
 to be a 64-bit int. GDB uses bfd_vma_addr for CORE_ADDR, but also
 casts CORE_ADDRS to ints, which loses on 32-bit mips hosts.
1997-10-19 02:52:24 +00:00
gwr 03272e0c4b Add: bfd readline 1997-10-18 18:13:35 +00:00
gwr 8f88f65275 Minor cleanup 1997-10-17 20:51:25 +00:00
gwr c9dfda4a6e Add ARCH_DEFS 1997-10-17 20:06:59 +00:00
gwr 5892b616fc Use ARCH_DEFS 1997-10-17 20:01:26 +00:00
gwr ab898530e5 Take a stab at this. 1997-10-17 19:58:55 +00:00
gwr f2bea0bb9f Take a stab at this. 1997-10-17 19:18:59 +00:00
gwr 23c4260d7c BFD_BACKENDS are *.c files 1997-10-17 19:17:27 +00:00
gwr 9a9a4dd10f cosmetic 1997-10-17 18:50:45 +00:00
gwr 7e4cd33f27 Need BFD_ARCH_SIZE=64 on mips 1997-10-17 18:45:54 +00:00
jonathan 212b5c610f Initial BFD support for the mips, with these targets:
bfd_elf{32,64}_{big,litte}mips_vec, ecoff{big,little}_vec
1997-10-17 08:30:21 +00:00
gwr d8012a8607 Fix missing dependencies on elf{32,64}-target.h 1997-10-10 16:06:22 +00:00
gwr 5e963aa0dd Initial support for the Alpha, with these targets:
bfd_elf64_alpha_vec, ecoffalpha_little_vec
1997-09-26 18:25:33 +00:00
gwr 576d2489e9 Define SRCS rather than OBJS so make depend works. 1997-09-26 15:59:40 +00:00
gwr a53b58b220 Use <bsd.lib.mk> 1997-09-26 15:05:10 +00:00
gwr 20b3817ab1 BSD-style build infrastructure for readline-2.1 1997-09-26 02:53:21 +00:00
gwr 99bb0eafe5 remove old comment 1997-09-26 02:43:34 +00:00
gwr 738eb4fcb7 BSD-style build infrastructure for binutils/bfd 1997-09-26 02:38:49 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
mycroft 342631d43f Fix minor biff in previous. 1997-05-07 07:57:56 +00:00
mycroft fd8daf980e Add .MAKE to the .OBJDIR hacks, so they work with `make -n'. 1997-05-07 07:15:34 +00:00
thorpej 9d7af91ffa Fix a botch in the last change made (to accomodate the PowerPC), pointed
out by Chris Demetriou <cgd@netbsd.org>
1997-04-20 20:20:12 +00:00
thorpej 59d5b749b4 Define _G_NEED_STDARG_H - needed for NetBSD/powerpc's varargs/stdarg
implementation.
1997-04-16 20:42:46 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
veego 5fd45e1ff6 changes for bsd.lib.mk: s/PICFLAG/CPICFLAGS/ 1997-03-16 15:45:15 +00:00
mikel b0b6c886f4 install *.cc headers from libstdc++/st[dl]; from Steven J. Dovich in
PR lib/2488.
1997-02-07 07:14:02 +00:00
cgd 60bc771353 convert genclass makefile to standard 'just install the shell script' form,
a la /usr/bin/true's makefile and others like it.  It's simpler than
what was here before, and more correct in terms of providing the variables
that the .mk files expected.
1996-12-22 20:46:06 +00:00
pk cb7f6e2af3 Include c++rt.o when building shared library in libstdc++/Makefile 1996-12-22 13:37:30 +00:00
pk 051d8d1895 Include c++rt.o when building shared library 1996-12-22 13:35:51 +00:00
cgd 1a7d5b7fdf don't bother trying to lint c++ libraries, since lint can't deal with
c++ and a lint library containing only the C functions is pretty
much useless.
1996-12-20 01:04:17 +00:00
cgd 8ac4f8973d re-enable libg++ on the Alpha 1996-12-17 21:33:20 +00:00
cgd b02b09670a on the Alpha, don't include c++rt0.o on the link line. (1) it doesn't
exist, and (2) its purpose on the link line is taken care of automatically
by the library-building process.
1996-12-17 21:32:26 +00:00
phil 6a4e12cde0 Patch from cgd to make these work on the alpha. 1996-12-17 19:35:00 +00:00
phil b98fb70d78 Removing files that are not in libg++ 2.7.2 because the functions got
moved to libio.
1996-12-17 19:28:50 +00:00
phil 9d6cf59d37 Fix conflicts in libg++ 2.7.2 import. 1996-12-17 19:14:14 +00:00
phil 1496ef1851 Import of libg++ 2.7.2. 1996-12-17 18:55:08 +00:00
thorpej 46ac224706 Use ${INSTALL}. 1996-10-18 02:52:59 +00:00
mrg 5a73459f3e don't create directories here; let mtree do it 1996-05-22 02:05:52 +00:00
mrg b27f618724 don't create directories here; let mtree do it 1996-05-22 01:48:54 +00:00
phil a964fa9b57 Back out the change to include libio and libiostream. 1996-05-16 21:03:24 +00:00
phil 0534b81c29 Install includes from libio and enable building and installation of libio and
libiostream.  Some functions are duplicated in libio, libiostream and
libstdc++.  If needed, we can remove duplicated functions later.
(Fixes PR 2390)
1996-05-15 22:56:13 +00:00
jtc c63d7d5d2e Use 'includes' instead of 'beforeinstall' target to install headersUpdate libg++2netbsd to match 1996-04-25 01:16:07 +00:00
phil d012169278 Fix problems with which and where includes are installed. 1996-04-08 02:45:55 +00:00
phil 208dd8b0cc Adding librx to libg++ tree. (Closes PR 2271 and 2298.) 1996-04-04 23:33:45 +00:00
veego b9f085f78f Restore a local change from our old libg++ to fix a compile warning 1996-03-13 23:07:35 +00:00
phil 4de8058449 Added / in cmp path for /usr/include/g++/stl. (To match libg++2netbsd and
be correct.)
1996-03-11 17:22:42 +00:00
thorpej e311fddd2a Fix installation of header files. 1996-03-11 04:58:22 +00:00
thorpej a039d62135 s/ALLSRC/IMPSRC/ so that we don't try to compile header files. From
Gary D. Duzan <gary@wheel.tiac.net>.
1996-03-11 02:38:44 +00:00
phil 14b81cb599 Removing old libg++. 1996-03-09 00:36:34 +00:00
phil 84a13b4cb6 Removal of old libg++. 1996-03-09 00:28:43 +00:00
phil 03548c36c3 Deleting old libg++. 1996-03-09 00:25:38 +00:00
phil 30eeb22555 Fix typo in comment. 1996-03-09 00:20:44 +00:00
phil b55390258b Conflict resolution for 2.7.1 import. 1996-03-09 00:18:56 +00:00
phil 357744cd54 Import of libg++-2.7.1. 1996-03-09 00:00:51 +00:00
mycroft c4bba69708 Adjust for new G++ name mangling convention.
From Niklas Hallquist, PR 1557.
1996-02-08 03:43:31 +00:00
thorpej b634b9d5ac Fix really rediculous typo I introduced. 1996-01-05 08:30:45 +00:00
thorpej 2583d55c05 Use getrlimit() instead of vlimit(), like BSD/OS and OSF/1 do. 1996-01-01 19:40:48 +00:00
chopps 0dd5a89778 fix scoping and other related problems reported in pr#1859 1995-12-30 03:32:18 +00:00
thorpej d6886078f2 Don't define MAXFLOAT if __NetBSD__ is defined. Mark this XXX. Hopefully,
we won't have to worry about it when libg++ is upgraded.  This is necessary
for libg++ to compile with -Werror.
1995-12-16 01:03:33 +00:00
christos 99fc0f40d9 Parallel make fixes 1995-10-22 21:04:42 +00:00
cgd a12c29d63c if NetBSD, include sys/cdefs.h and don't define __P here. 1995-04-29 05:32:40 +00:00
cgd 0f099d92af changes to make the src/gnu code compile happily on the alpha:
Mostly casts here and there to kill warnings or bugs.  occasional
addition of prototypes and/or changes to bring protos into scope.
1995-04-23 08:35:30 +00:00
cgd b0c276cd95 don't build libg++ on the alpha 1995-04-23 07:50:21 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
jtc 1766d4483b Use ${BINOWN} and ${BINGRP}. 1995-01-12 19:06:53 +00:00
deraadt 6e34e2ecbe Can't do `#ifdef BSD' unless we've pulled in <sys/param.h> 1994-09-18 02:57:08 +00:00
mycroft 5156a7b075 Do something more intelligent when compiling into ${DESTDIR}. 1994-07-06 04:06:27 +00:00
cgd 97e0e0acd1 don't strip the script. pointed out by Duncan McEwan <duncan@comp.vuw.ac.nz> 1994-06-30 07:12:10 +00:00
jtc e11807daea Use new support for *.sh files in <bsd.prog.mk> to simplify Makefile.
Don't add ${DESTDIR} when replacing PROTODIR in script.
1994-06-28 05:39:53 +00:00
cgd 8a42d9035d bump version number 1994-03-27 11:12:53 +00:00
cgd 1a1b1466cb kill bogus install -d's. for those that are appropriate (libg++),
make owner and mode explicit, to make the mtree files.
1994-02-10 02:17:56 +00:00
cgd 8f54ff345b don't use 'make' explicitly 1994-02-10 01:47:47 +00:00
cgd 0409100437 you can't use DESTDIR to help specify a library for LDADD or DPADD,
for a couple of reasons: (1) you're not supposed to, and (2) the first
time you try to 'make' with DESTDIR set to a certain place, things
will break.
1994-01-07 13:27:03 +00:00
jtc bb0242b058 Don't remove c++ header directory before installing headers.
Users who still have old headers loose.
1994-01-07 00:16:43 +00:00
pk 30ebbeb8bf Use ${DESTDIR}.
Handcraft ${LIBCURSES} as we don't include bsd.prog.mk here.
1994-01-05 21:56:40 +00:00
mycroft 827166f3bc Asleep at the wheel. Fix LDADD and DPADD correctly this time. 1994-01-05 21:34:30 +00:00
mycroft 212a74c429 Add -lcurses (for now). 1994-01-05 21:27:44 +00:00
pk 0717be952c The first C++ shared library version. 1994-01-05 21:22:16 +00:00
pk 59e6fa2423 Link with /usr/lib/c++rt0.o, which takes care of ctors/dtors in the library. 1994-01-05 21:20:05 +00:00
mycroft b7a74adfed Clean up deleted files. 1993-12-05 14:27:02 +00:00
cgd 7dba1e2544 get rid of libregex; it's unused 1993-12-05 14:26:22 +00:00
jtc f4f0a0574f Don't reference libiberty --- it's gone. 1993-11-17 21:22:34 +00:00
mycroft 667fb45afc Clean up deleted files. 1993-11-17 21:14:09 +00:00
jtc baa5b7b22f Don't include libiberty's insque(), remque(), or strerror().
We have our own implementations in our C library.
Libg++-2.5.1 doesn't include them either.
1993-11-17 20:57:58 +00:00
jtc fe9a0572d1 For the moment, we still have to install "values.h" from g++-include. 1993-11-17 20:43:37 +00:00
mycroft 98999bd79c Clean up deleted files. 1993-11-17 20:38:22 +00:00
jtc 1fffdc0cb5 Remove /usr/include/g++/* before installing headers --- it may contain
obsolete headers that have to be removed.
Don't install "compatibility" headers --- our headers are C++ safe and
GNU's headers don't match our library.
1993-11-17 19:54:46 +00:00
cgd c88bada6aa delete underscores for new curses 1993-11-12 00:27:26 +00:00
jtc c824ac0cb8 Don't install libgnuregex. 1993-11-11 01:25:58 +00:00
cgd daea3d2f86 add shlib_version file, with version 0.0 1993-11-08 03:48:53 +00:00
cgd 741cd52621 NOPIC until we can use c++ shlibs 1993-11-07 10:56:02 +00:00
cgd 47850d1d3b combine malloc, free, and realloc into one file, because that's what
libc does, and we don't want things to get screwed up at link-time.
1993-10-26 06:52:16 +00:00
jtc e0ee30aed4 Use `:', rather than `.' to separate user and group in chown commands
in case we ever decide to remove the support for the (obsolete) `.'
separator.
1993-09-30 22:42:09 +00:00
jtc 2d074d37f6 Include prototype for strerror(). 1993-09-27 18:25:49 +00:00
rich 7367e2c3e5 Added genclass which supports simple templates for container classes. 1993-09-23 23:28:29 +00:00
cgd 3560b76d3f add gnu malloc library. to use, -lgnumalloc (same style as -lgnuregex) 1993-09-23 21:10:27 +00:00
mycroft 14e1bdc51e __386BSD__ --> __NetBSD__ 1993-08-15 17:01:00 +00:00
mycroft 385c820372 __386BSD__ --> __NetBSD__ 1993-08-15 16:47:00 +00:00
mycroft 60a39ee356 Changes for new Curses. 1993-08-15 16:18:41 +00:00
mycroft e1c5bd9b41 Change order of #includes so math-68881.h doesn't barf. 1993-08-15 16:00:41 +00:00
mycroft 6929a219ae Someone forgot this file. 1993-08-14 22:38:25 +00:00
mycroft 2b542f0acf __386BSD__ --> __NetBSD__ 1993-08-14 22:07:30 +00:00
mycroft d2830fa48d Add LIB= line which I accidentally deleted 4 revisions ago. 1993-08-03 21:57:49 +00:00
mycroft 210cab4541 Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:18:41 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 34dfeef26f fix for "libregex" 1993-07-18 11:52:35 +00:00
mycroft 0dbd8e640b Clean up deleted files. 1993-07-18 11:19:29 +00:00
cgd d32ad4a14f note version 1993-07-18 11:17:07 +00:00
mycroft 8d7d3883e3 Fix C++ dependencies for good. `make depend' is now done in two passes--one
of C files and one for C++ files.  No need to specify `-+' in your Makefile,
as it is now done automatically.
1993-07-17 13:43:50 +00:00
mycroft 631ba0dc25 Make `make depend' really work. 1993-07-17 12:43:17 +00:00
mycroft 602e86f3d6 Nuke extraneous suffix rules, and make depend work. 1993-07-17 12:12:57 +00:00
paul ea1ba63613 Updated to 2.4 1993-07-16 03:31:54 +00:00
cgd 6d907e7559 install g++ includes when doing a "make install" 1993-07-15 19:05:11 +00:00
mycroft 164fab4089 Clean up deleted files. 1993-07-15 18:10:35 +00:00
cgd 3b74bdd726 upgrade to libg++ 2.3.90. g++ includes don't install right yet, but will fix 1993-07-14 09:35:28 +00:00
mycroft 5a92aad43b Clean up deleted files. 1993-07-14 09:35:27 +00:00
cgd 70c7bffc16 upgrade to libg++ 2.3.90. g++ includes don't install right yet, but will fix 1993-07-14 09:33:32 +00:00
cgd 2eaee1cf37 upgrade to libg++ 2.3.90. g++ includes don't install right yet, but will fix 1993-07-14 09:13:01 +00:00
mycroft 16e57b6b9e Clean up deleted files. 1993-07-14 09:13:00 +00:00
cgd ac59f5a901 upgrade to libg++ 2.3.90. g++ includes don't install right yet, but will fix 1993-07-14 09:12:34 +00:00
mycroft 0c4031d007 Clean up deleted files. 1993-07-14 09:12:06 +00:00
cgd d401ad4739 upgrade to libg++ 2.3.90. g++ includes don't install right yet, but will fix 1993-07-14 09:11:59 +00:00
mycroft 2caee481cf Use CXX and CXXFLAGS. 1993-06-17 03:52:28 +00:00
mycroft edf50ac9b2 I think I'm going to puke. 1993-06-17 03:30:45 +00:00
deraadt d5559526ee No ld++ needed in netbsd, as ld does the collect job just fine. (I think
anyways)
1993-06-06 07:20:37 +00:00
cgd 170dba4cfc add "-+" to cflags only if doing make depend 1993-06-02 15:10:35 +00:00
mycroft 2fd4ac5c03 Use global value of CFLAGS for optimization. 1993-05-02 23:16:42 +00:00
cgd 7d9e823ff0 moved libg++ into gnulib 1993-04-29 11:37:12 +00:00
mycroft def5569d1c `all' target should not depend on man pages; bsd.prog.mk takes care of that. 1993-04-25 05:13:41 +00:00
cgd 47a9e621e3 isntall regex.h under ${DESTDIR} 1993-04-10 15:24:44 +00:00
cgd 07352f5304 get open.o out of the sources list, and replace it with open.cc 1993-04-09 20:57:54 +00:00
cgd 0856d94781 patch from rodney grimes (patch 118):
added CFLAGS so that include files could be found by mkdep,
and so that make depend would invoke the g++ version of cpp.
1993-04-09 13:13:30 +00:00
cgd 80b652e0f4 make sure directory to install stuff exists before installing 1993-04-09 09:39:59 +00:00
cgd 744d9dbe75 gnu regex 0.12 1993-04-08 01:12:23 +00:00
cgd 09208352b3 gnulib == libraries under the GPL which need to go in the main tree.
starting out, this is regex-0.12
1993-04-08 01:10:47 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00