Commit Graph

1838 Commits

Author SHA1 Message Date
jdp
ffcc901f03 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
n_hibma
1331b59885 Ignore return value for strip. Avoids make world going pop
because of

strip maybe_stripped
strip: maybe_stripped: File format not recognized
*** Error code 1

in I/usr/src/gnu/usr.bin/binutils/strip
1999-01-08 10:33:12 +00:00
bde
edceb2d6b3 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
bde
58ce405aac 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
imp
e8eb0a612e Add support for building on MIPS based systems. 1998-12-16 04:59:53 +00:00
jkoshy
64959e9518 Add a reference to man(7). 1998-12-03 02:32:20 +00:00
dillon
a6ae27dbc4 Added reference to mdoc(7) and mdoc.samples(7) to the bottom of
man(1).  The man manual page is the obvious first place that people
    who are trying to write manual pages look.
1998-12-01 06:35:06 +00:00
wosch
d465d69601 Use mmap for reading files. This is faster than read(). 1998-11-14 23:37:32 +00:00
imp
de27adfbe9 Another instance where we default to elf only on alpha, but should
default to aout only on i386.
1998-10-26 18:27:32 +00:00
markm
1ff00a2ea3 Fix paths. This sorts out the remaining p5-* port-creation hassles. 1998-10-17 07:10:43 +00:00
bde
4bdfdd372a Split up rule for ${COMMONHDRS} so that `make -j N' doesn't create the
6 headers up to 6 times concurrently.  Debugged by Don Lewis
(Don.Lewis@tsc.tdk.com).

Fixed some disorder.
1998-10-16 16:53:15 +00:00
markm
45d6171cea Properly install the *.h files in CORE and Config.pm where it wants to be.
This should fix a substantial number of broken p5-* ports.

Tested-on:	x11-toolkits/p5-Tk (Amongst others)
1998-10-15 18:50:04 +00:00
bde
34ec08b0e2 Fixed breakage of gdbreplay's and gdbserver's BINDIR in previous commit.
They may belong in /usr/libexec/{aout,elf}, but objformat doesn't
support that.

Fixed bogus `?=' assignments for BINDIR.
1998-10-15 14:15:09 +00:00
peter
3ed74bd188 Install gdb in /usr/lib/aout or /usr/lib/elf depending on format. 1998-10-15 00:15:01 +00:00
markm
1a4682eadb Damn - dirname(1) is not available this early. Work-around. 1998-10-12 06:00:30 +00:00
markm
c911fd70c5 Very substantial debug/improvement of the FreeBSD/Perl5 build.
o make install ; make install now works
o make all ; make all is quiet the second time
o Dependancies are properliy debugged; this means that make -jN has a
  far hihjer likelyhood of working.
o a proper 'link farm' has been constructed for the build. This
  dramatically simplifies the dependancy tangle.
o for perldoc's use, all the .pod files are installed.
o the man3 docs are properly compressed.
o the man pages and libary code are installed by the makefiles, not
  by a perl script.
o at the end, h2ph is run.
1998-10-11 18:13:42 +00:00
peter
9f6be4544f 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
bde
e437eb9b9d Fixed searching for section "1aout" man pages. Section numbers must be
single digits or in the section list.
1998-10-10 13:11:39 +00:00
peter
518d6b5e04 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
jdp
462ff1335f Don't build the info pages for the old assembler. Instead, build
and install the info pages for the new assembler and linker.
1998-10-03 03:59:47 +00:00
ache
a9d48ca059 space/tab problem 1998-10-02 13:01:59 +00:00
jkh
d930f627e8 Add documentation for tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:24:38 +00:00
jkh
cc238ccf3e Add documentation for new tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:23:47 +00:00
obrien
5a6b93580f Install z*grep manpages 1998-10-02 07:14:32 +00:00
ache
075825e3cb add /usr/share/perl/man 1998-10-02 01:06:30 +00:00
markm
e9048d87aa Allow NOSUIDPERL to DTRT. 1998-09-30 20:24:59 +00:00
jkh
529bc17dcb Add missing free()
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:10:16 +00:00
jkh
8519f5f0a0 Add missing free().
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:09:12 +00:00
markm
0126e9e12a Fix the shared library configuration stuff.
Noticed by: Ollivier Robert
1998-09-29 18:58:16 +00:00
jkh
8064cb05e7 Add examples for tree functions.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:46 +00:00
jkh
2447cf8621 Add support for saved trees.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:36 +00:00
jkh
f9db8b1233 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
jkh
2c4ac21582 Teach this code about the new tree functionality of libdialog.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-28 16:11:22 +00:00
jkh
d9a7d2ce1a 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
markm
4b23ce1494 Repairs to make the ports system work again. Currently, the ports
are installed in the same place as on 2.2.*; this will almost
certainly change in the future.

While I'm here, finish off the shared library brouhaha with miniperl.
1998-09-26 16:17:06 +00:00
jkh
a27c9f956a 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
markm
76c6a23ce3 Part #2 (final) of suidperl repair. 1998-09-24 17:25:26 +00:00
markm
c1d85cb543 More make cleanups.
1) Part of the NOSHARED fix; I messed this up and managed to get
   perl installed without being linked to the shared library libperl.so.
   This broke Perl in ELF when linking in shared objects.

2) Start of a cleanup of the man3 page location. This will (eventually)
   allow for a the ports to put their pages in the "normal" ${PREFIX}-
   based location.

3) Nuke cruft.
1998-09-23 06:05:28 +00:00
markm
2af42a0a9d Big cleanup of the perl build.
1) Inspired by JB's finding of a hardcoded /usr/bin/ranlib in the
   config files, these have been properly cleaned up and have
   been personalised for FreeBSD, not MarkM.

2) Inspired by Peter, copying of the lib/ext etc dirs has been
   replaced by a link farm.

3) Common code has been moved to a higher-level Makefile.inc.

This has been tested with a make -j8.
1998-09-22 12:00:59 +00:00
roberto
fdfec00b09 Change rst0 into rsa0 in the man page too. Correct the spelling of
POSIXLY_CORRECT while I'm here.

Pointed out by:	Andreas Klemm
1998-09-22 09:55:09 +00:00
roberto
9d8fc55b2c The default tape device should be /dev/rsa0 for CAM. 1998-09-21 17:20:08 +00:00
jb
6d2022482f I danced with the devil and found the needle in the haystack!
Remove the /usr/bin path to ranlib and just let the build environment
set the path. Running an aout version of ranlib on an elf library
is something we'd prefer not to do. I'm surprised that the build
didn't spit any errors when it did this. Shrug.
1998-09-21 08:44:24 +00:00
dfr
d49c58124f Supply correct type widths etc. for alpha. 1998-09-16 18:57:57 +00:00
markm
9ce1c0c70a Generalise the build a bit more.
1) Fix up the NOSHARED stuff (bde)
2) Accomodate CFLAGS (vanilla)
3) Provide separate files for i386 and alpha (Doug Rabson)

In case 3, the supplied files were corrupted, but the concepts
sound enough, so I just copied what exists into
config.SH-{elf|aout}.{i386|alpha}. Alpha team, go ahead and do what
is necessary on config.SH-elf.alpha. :-)
1998-09-16 17:25:52 +00:00
jdp
fc9aaf05cb Fix GDB so that it can handle ELF core dumps. 1998-09-14 22:49:02 +00:00
brian
bf32f01fb9 Remove Id keywords from files that are still on the vendor branch
This will make life easier when upgrading.
Suggested by:	bde
1998-09-14 22:11:37 +00:00
markm
2167da5c0e Add a link perl --> perl5.00502
Asked-for-by: Asami-San (for ports)
1998-09-14 18:34:19 +00:00
brian
599fa37c05 Add Id keyword 1998-09-13 23:11:13 +00:00
markm
69357dee20 Allow libperl to be a shared library.
This has the delightful side effect of fixing ELF .so objects.

Asked-for-by: peter
1998-09-12 19:16:33 +00:00
markm
14fce64573 Fix parallel building.
(Tested by make -j12 buildworld on a 4-cpu SMP box).

Address (but not solve) ELF shareable objects causing perl to
dump core. (I have a heck of a lot to learn about ELF).

Lots of help by: bde, jkh, jb and others
1998-09-12 15:45:30 +00:00