Commit Graph

1297 Commits

Author SHA1 Message Date
Jordan K. Hubbard
26e4260723 Add missing free()
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:10:16 +00:00
Mark Murray
9048a9edbd Fix the shared library configuration stuff.
Noticed by: Ollivier Robert
1998-09-29 18:58:16 +00:00
Jordan K. Hubbard
364c8e85fb 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
Mark Murray
6f78849eef 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
Mark Murray
51ec9e43ce Part #2 (final) of suidperl repair. 1998-09-24 17:25:26 +00:00
Mark Murray
883f1dcf78 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
Mark Murray
7b73600389 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
Ollivier Robert
2ecc8adb57 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
Ollivier Robert
7c88491f77 The default tape device should be /dev/rsa0 for CAM. 1998-09-21 17:20:08 +00:00
John Birrell
608c9e3cf8 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
Doug Rabson
b613c32dda Supply correct type widths etc. for alpha. 1998-09-16 18:57:57 +00:00
Mark Murray
406f5f9aec 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
John Polstra
e8f80c1aca Fix GDB so that it can handle ELF core dumps. 1998-09-14 22:49:02 +00:00
Mark Murray
a1b4e38100 Add a link perl --> perl5.00502
Asked-for-by: Asami-San (for ports)
1998-09-14 18:34:19 +00:00
Brian Somers
965066d630 Add Id keyword 1998-09-13 23:11:13 +00:00
Mark Murray
3674e655b9 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
Mark Murray
4842ab0d9a 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
Mark Murray
235e962d3f Dorkus sum. I managed to commit an earlier version of this. This fixes the
broken perl build.

* NOTE * * NOTE * * NOTE *

PERL5 RELIES IN A MAKE WORLD FOR THE BOOTSTRAP!!

* NOTE * * NOTE * * NOTE *
1998-09-10 10:51:11 +00:00
Mark Murray
ddf0071c01 Remove the NOPERL block to building Perl5.
Perl 5 will rebuild/bootstrap itself next time a make world is done
with this in effect.
1998-09-09 19:30:45 +00:00
Warner Losh
8521ef096a Fix fencepost error in readlink; inspired by OpenBSD 1998-09-09 17:14:17 +00:00
KATO Takenori
d22114bfb8 Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98. 1998-09-09 11:22:28 +00:00
Mark Murray
17168bf62e Bring in the Perl5 BMake files. This ends the easy stuff.
I'll be doiung the rest in stages.
1998-09-09 07:20:33 +00:00
Mark Murray
bae7411889 Old Perl is leaving us. Goodbye, faithful friend. 1998-09-09 06:49:33 +00:00
Mark Murray
5850fb4408 Set NOPERL while I spend the rest of the day bringing in Perl5.
This will doubtless confuse someone, but I'd rather have this than
breakage.
1998-09-09 06:01:11 +00:00
Joseph Koshy
766b5bc0f7 Fix typo.
PR:		7809
Submitted by:	Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
1998-09-09 03:04:53 +00:00
Doug Rabson
1fdfa7ab3c Update alpha configuration files and remove i386 target from
libbinutils/config.h - it is declared in the arch Makefile.
1998-09-07 08:18:34 +00:00
John Birrell
b43abe2d55 Install the legacy man file in section 1aout. 1998-09-07 05:46:09 +00:00
John Polstra
34d2198035 Update for import of binutils-2.9.1.
Submitted by:	Doug Rabson <dfr>
1998-09-06 23:01:53 +00:00
John Birrell
f471c44869 MACHINE -> MACHINE_ARCH to allow PC98 to define MACHINE=pc98.
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-08-31 20:48:13 +00:00
John Birrell
050c06f9e2 Missed some BINFORMATs. Fingers! Can't live with 'em. Can't live without 'em. 1998-08-30 02:46:35 +00:00
John Birrell
0e94cd8261 BINFORMAT -> OBJFORMAT ready for E-day. I tossed a coin to decide this
one. We'll probably need to revisit gdb after E-day.
1998-08-30 02:01:07 +00:00
John Birrell
62d43a3bfc Make the build tools static to avoid trying to use the shared loader
before it is installed.

This upsets Bruce because the host boostrap build forces tools to be
static anyway. He says I'm abusing NOTOOLS in src/Makefile by using
it to do a aout->elf transition build. One day I'll find a place to
install host tools like these to allow a true cross build.
1998-08-20 21:45:46 +00:00
John Birrell
89ef33c09f Install binutils tools in /usr/libexec/elf like on i386 so that objformat
can be used to select them. The purpose of this is not necessarily to
allow another host format, but to allow us to use the objformat trickery
for cross compilation.
1998-08-18 06:51:08 +00:00
Mark Murray
8eee208047 Fix LIBDIR so kerberised CVS will work. 1998-08-15 17:26:36 +00:00
Peter Hawkins
3f9fdaca2f PR: 7488
Submitted by:	lhecking@nmrc.ucc.ie
merge from stable
1998-08-05 03:44:46 +00:00
Jacques Vidrine
9b6dc4d701 fixed: tar will extract file even if -C command fails
tar now exits with new exit code EX_BADDIR after a failed chdir()
in name_next(), name_match(), and name_from_list().
PR:		bin/2394
Submitted by:	Satoshi Asami <asami@freebsd.org>
1998-07-27 18:40:09 +00:00
Joseph Koshy
8f4eff3a85 Add Xref to ldd(1).
PR: 7397
1998-07-26 04:16:04 +00:00
Poul-Henning Kamp
24db6e216f During compilation of a Fortran program f2c/f77 will spew the
name of entry points, functions, subroutines, and program to
stderr error.  The enclosed patches do 3 things:

     (1) Silenced the output to stderr.
     (2) Added a -v option to f2c and f77.  This will turn on a verbose
         mode, and dumps quite a bit of stuff to stderr.
     (3) Updated the f2c man page.

PR:		7369
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-07-24 07:13:57 +00:00
Dag-Erling Smørgrav
d65fe5d36d For every directory in ${PATH} that ends with "/bin", look for a
corresponding directory ending in "/man".

PR:		7215
Submitted by:	Wayne Scott <wscott@ichips.intel.com>
1998-07-09 12:39:08 +00:00
Joseph Koshy
5ddca9040c fix description of `-C' option to match behaviour in the sources:
`-C' can be used both when creating and extracting files.  Further,
a `-C' inside the argument list causes a `chdir()' to the named
directory before the subsequent filename arguments to be interpreted.

Eg:- "tar -cf a+b.tar -C /a . -C /b ."

PR: 7221
1998-07-09 04:28:19 +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
Bruce Evans
0cc5719c0a Use the installed versions of cc, cc1 and cpp for building underscore.
They have been bootstrapped by `make world' since long before the
hacks here were cloned from ../libgcc/Makefile.  The versions just
built in "../*" normally won't work if the target system is not binary
compatible.

Don't use OBJS to defeat `make depend'; just put generated sources in
SRCS.

Added temporary files to CLEANFILES.
1998-07-08 00:14:15 +00:00
Bruce Evans
36c1af94e2 Use the installed version of perl for `make install'. It is now
bootstrapped by `make world'.  The version just built in ".."
normally won't work if the target system is not binary compatible.
1998-07-07 23:44:43 +00:00
Bruce Evans
f7bebafb62 Use the installed version of perl for `make depend'. It is now
bootstrapped by `make world'.  The version just built in ".."
normally won't work if the target system is not binary compatible.
The bootstrapped version has a better chance of working.

This makes the fixes and bugs in the previous 3 commits irrelevant.
Rev.1.11 was just wrong and rev.1.10 became unnecessary when
perl/perl was added to build-tools.  Don't expect to build perl/usub
without using `make world' or equivalent if you don't have perl
installed.
1998-07-07 23:32:39 +00:00
Bruce Evans
6d31e616a0 Added a `build-tools' target for internal tools. 1998-07-07 01:51:18 +00:00
Bruce Evans
09d693f205 Fixed printf format errors. 1998-06-30 20:48:45 +00:00
Bruce Evans
2512f2fe3b Fixed printf format errors. 1998-06-30 20:14:13 +00:00
Peter Wemm
b6a27c919c Add -DFREEBSD_AOUT to CFLAGS, to ensure that <link.h> gives us the correct
definitions, even when compiling the a.out ld under elf.
1998-06-12 15:50:57 +00:00
Steve Price
32c2131395 Fix a bunch of spelling errors.
PR:		6856
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
Bruce Evans
ae33d52efb Don't use beforedepend or give dependencies on generated headers explicitly.
Just put generated headers in SRCS.
1998-06-04 06:50:58 +00:00