Commit Graph

2035 Commits

Author SHA1 Message Date
bde
09e86f5a35 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
6eeeda7edb Add support for building on MIPS based systems. 1998-12-16 04:59:53 +00:00
jkoshy
7004747055 Add a reference to man(7). 1998-12-03 02:32:20 +00:00
dillon
cc46f8b5a6 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
ae75c547c5 Use mmap for reading files. This is faster than read(). 1998-11-14 23:37:32 +00:00
imp
0e73deedb4 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
7f707911ca Fix paths. This sorts out the remaining p5-* port-creation hassles. 1998-10-17 07:10:43 +00:00
bde
f46bbd6101 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
999b2a26da 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
70384b7198 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
a6292aab94 Install gdb in /usr/lib/aout or /usr/lib/elf depending on format. 1998-10-15 00:15:01 +00:00
markm
649247b935 Damn - dirname(1) is not available this early. Work-around. 1998-10-12 06:00:30 +00:00
markm
425d320cfb 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
b90965ea82 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
25cc8a3af3 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
294bb4e7f6 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
1c1bced85b 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
3ce560cca5 space/tab problem 1998-10-02 13:01:59 +00:00
jkh
4efcd761d4 Add documentation for tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:24:38 +00:00
jkh
f8449c691c Add documentation for new tree functions.
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-10-02 11:23:47 +00:00
obrien
95a6256d17 Install z*grep manpages 1998-10-02 07:14:32 +00:00
ache
707baf1b08 add /usr/share/perl/man 1998-10-02 01:06:30 +00:00
markm
3d01a589de Allow NOSUIDPERL to DTRT. 1998-09-30 20:24:59 +00:00
jkh
3a49858517 Add missing free()
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:10:16 +00:00
jkh
8c53fd8a5a Add missing free().
Submitted by:	Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>
1998-09-30 12:09:12 +00:00
markm
e510f7ce00 Fix the shared library configuration stuff.
Noticed by: Ollivier Robert
1998-09-29 18:58:16 +00:00
jkh
17bef22a9b Add examples for tree functions.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:46 +00:00
jkh
81bba8eebb Add support for saved trees.
Submitted by:	"Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>
1998-09-29 12:22:36 +00:00
jkh
64d785a8b4 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
3a0ff5c174 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
359969e8fd 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
d223340d6c 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
0ab3e82c20 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
b5ab421d3d Part #2 (final) of suidperl repair. 1998-09-24 17:25:26 +00:00
markm
04169caab2 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
76891ded88 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
2210d9e04a 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
da3e3661ec The default tape device should be /dev/rsa0 for CAM. 1998-09-21 17:20:08 +00:00
jb
14b7d62d0f 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
d50c9db046 Supply correct type widths etc. for alpha. 1998-09-16 18:57:57 +00:00
markm
8d84a4bd8b 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
426b033aca Fix GDB so that it can handle ELF core dumps. 1998-09-14 22:49:02 +00:00
brian
4884feacae 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
a7aa4e264b Add a link perl --> perl5.00502
Asked-for-by: Asami-San (for ports)
1998-09-14 18:34:19 +00:00
brian
8a70c22e66 Add Id keyword 1998-09-13 23:11:13 +00:00
markm
b8cebd3b49 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
d379053cd5 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
imp
3ed93d1d07 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
markm
c0b860dd59 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
markm
158a2e0d02 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
imp
30ac0ab2e4 Fix fencepost error in readlink; inspired by OpenBSD 1998-09-09 17:14:17 +00:00
imp
263dc28979 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
kato
4d5502a117 Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98. 1998-09-09 11:22:28 +00:00
cracauer
9ed28a71ad Document why the library is still not being build as shared.
PR:		gnu/7811
1998-09-09 10:21:12 +00:00
markm
fbd3e8a019 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
markm
86eacbc97d Old Perl is leaving us. Goodbye, faithful friend. 1998-09-09 06:49:33 +00:00
markm
fb80469d42 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
jkoshy
1ac4458de9 Fix typo.
PR:		7809
Submitted by:	Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
1998-09-09 03:04:53 +00:00
dfr
0bd9bbece1 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
jb
fdf6ac2904 Install the legacy man file in section 1aout. 1998-09-07 05:46:09 +00:00
jdp
dcabfbef90 Update for import of binutils-2.9.1.
Submitted by:	Doug Rabson <dfr>
1998-09-06 23:01:53 +00:00
bde
9d304d286e Fixed munging of the SUBDIR list in rev.1.16-1.18. 1998-09-02 14:56:59 +00:00
jb
a412f2d924 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
dfr
91041d6808 All libs build on alpha now. 1998-08-31 13:47:38 +00:00
dfr
130199b7dc Get definition of va_list from <stdarg.h>. 1998-08-31 13:47:03 +00:00
jb
47725a66f4 Missed some BINFORMATs. Fingers! Can't live with 'em. Can't live without 'em. 1998-08-30 02:46:35 +00:00
jb
d91da70d13 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
jb
ad07d4a0af BINFORMAT -> OBJFORMAT ready for E-day. 1998-08-30 01:57:55 +00:00
jb
fd4d97f90a 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
jb
7b4f8cf94a 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
jb
082768ed36 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
markm
bf8fa236c3 Fix LIBDIR so kerberised CVS will work. 1998-08-15 17:26:36 +00:00
thepish
9791c081c6 PR: 7488
Submitted by:	lhecking@nmrc.ucc.ie
merge from stable
1998-08-05 03:44:46 +00:00
bde
07b57947e1 Fixed printf format warnings for non-errors. This change is null unless
a system header defines a macro __printf0like() using the new printf0
format attribute.  uucp's internal ulog() function isn't actually
printf-like but uucp normally declares it as such.
1998-08-02 14:35:35 +00:00
nectar
607ec35706 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
jkoshy
0d3374deb8 Add Xref to ldd(1).
PR: 7397
1998-07-26 04:16:04 +00:00
phk
f4e69ebf9b 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
des
23eea447a5 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
jkoshy
dfdd427382 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
bde
d13e5dcca8 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
bde
6bc5a652a5 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
bde
6916e85f0d 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
bde
048affc61f 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
bde
f35aa0ff21 Added a `build-tools' target for internal tools. 1998-07-07 01:51:18 +00:00
bde
40827ec4f3 Fixed printf format errors. 1998-06-30 20:48:45 +00:00
bde
805cd0c09e Fixed printf format errors. 1998-06-30 20:14:13 +00:00
peter
747ed98828 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
jkoshy
93bb25d88b Spelling corrections.
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
steve
16359590c3 Fix a bunch of spelling errors.
PR:		6856
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
bde
db405d6e09 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
bde
7ec24ba281 Removed superfluous beforedepends. Their files were already in SRCS. 1998-06-04 06:38:17 +00:00
bde
1d1d3027f3 Don't use beforedepend; just put generated headers in SRCS. ldgram.h
was already put in SRCS by the general yacc rules.  Putting ldemul-list.h
in SRCS fixes races in `make -jN' when .depend hasn't been made.

Don't forget to clean ldemul-list.h.
1998-06-04 06:26:23 +00:00
bde
9c45180cf4 Removed special rules for lex- and yacc- generated files. The general
rules work identically, except that they actually work if the yacc-
generated header somehow becomes out of date.
1998-06-04 01:09:28 +00:00
peter
3a67581680 Missing DPADD's. 1998-06-03 18:57:59 +00:00
peter
ce54362206 Add missing DPADD's. 1998-06-03 18:01:04 +00:00
peter
ae353ccd13 These files were moved elsewhere (sbin/ldconfig, libexec/rtld-aout,
usr.bin/ldd) as they stand alone and are under bsd-style license.
1998-06-01 14:11:28 +00:00
peter
9443a7ddd0 Look for files in their new locations. 1998-06-01 14:08:01 +00:00
jkh
409582ef84 Also check for Satoshi's TMPDIR location of perl when looking around for it.
Clean up an .ifdef which was probably doing the wrong thing in the case
where user wants to override PERL.
Submitted by:	jhay
1998-05-29 06:16:44 +00:00
sos
d721e2b3d6 ELF preparation step 2:
Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.

This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.

We are getting close to an ELF make world, but I'll let this
all settle for a week or two...
1998-05-26 20:12:56 +00:00
sos
dca8a4e1e6 ELF preparation step 1:
Move our old a.out utils to /usr/libexec/aout.
Enable binutils and put the utils in /usr/libexec/elf
Enable objformat, a little helper program that calls the right
utils based on /etc/objformat and $OBJFORMAT.

This will enable the ELF generating tools.
Remember that this is only step one, the system is still compiled
and run in a.out format ONLY.

Problem left to solve: The BSD manpages wins over the GNU equivalents
as the are installed last. We need to distinguish between the manpages
somehow...
1998-05-25 17:34:42 +00:00
eivind
a25afe960b 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
jb
5fb7ce97af 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
jb
85c9914761 perl now works on alpha.
This just leaves gdb to be configured for alpha.
1998-05-12 23:09:36 +00:00
jb
8be8bbbc9b This code casts double -> int -> char *. Ugh. Take a punt and change the
int to a long so that no bits are thrown away on alpha and hope for
the best.
1998-05-12 23:07:07 +00:00
jb
e57de7c879 Change a cast of long * to time_t * in a call to time(); 1998-05-12 23:03:50 +00:00
jb
c9c4777060 Allow the makefile to choose the perl executable to run h2ph rather
than relying on the #!/usr/bin/perl in the first line of the script.
1998-05-12 23:02:14 +00:00
jb
08b01ef00b If perl exists in OBJDIR it has just been built; if it exists in
CURDIR it has been built without an obj directory; however if it is in
neither of those places, we expect it to be in DESTDIR.

Yes Bruce, I know this is broken because the host is not supposed to be
the same as the target, but we need to get the hosted build working
properly first before even attempting a cross compiled operating
system build. That will need to concept of TOOLSDIR or something that
can be mapped to DESTDIR in the case of a hosted build and set to the
installed tools in a cross compiled build. Later, later, later!
1998-05-12 22:51:34 +00:00
jb
ff36f28cf2 Change .if to .elif to prevent the current directory path search for a
perl executable from overriding the object directory path search where
perl is most likely to be. Most people haven't seen this because it
defaulted to /usr/bin/perl which might be OK as a fallback, but when
bootstrapping a new version (or the *first* version on alpha), we don't
really want to use /usr/bin/perl.
1998-05-12 22:32:03 +00:00
jb
e3b93e2e7f awk and groff (et al) now work on alpha as the result of library
fixes.
1998-05-12 21:07:45 +00:00
bde
6f0ed9dd7e Don't attempt to read process context from the kernel when (the
kernel's) curproc is null.  This fixes endless recursion in
xfer_umem() for attempts to read from user addresses, in particular
for attempts to read %fs and %gs from the pcb for `info reg'.
1998-05-12 16:49:13 +00:00
jb
d2a06d115d The yacc makefile changes don't seem to know when to generate the
header file and when not to, so for the time being make sure the
sucker gets generated up front.
1998-05-11 09:33:55 +00:00
jb
7d3ddb8180 Add CROSS_TARGETS to the list of GASES to build. We end up with a separate
gas for each target format. So for m68k targets that means several
gases. I wanted a m68k gas for VxWorks which uses aout in sun3 big
endian format, cross compiled on i386 under FreeBSD using libraries
supplied by DEC and intended by them for cross compilation on Alpha
under OSF/1. And it actually works!
1998-05-11 09:31:17 +00:00
jb
6fd3417e4c Make a path absolute. 1998-05-11 09:26:39 +00:00
bde
9018c46124 Simplified by using new yacc rules and by not generating y.tab.h. 1998-05-08 06:41:06 +00:00
jb
d5c2d32ed2 Fix the path. 1998-05-05 12:33:21 +00:00
jb
ff44e35d58 Specify an absolute include path.
Backout the previous commit in favour of the Makefile.inc added to
the parent directory.
1998-05-05 10:32:47 +00:00
jb
9c22e02a45 One of those silently included files that just about guarantee that
nobody has any idea how something like BINDIR gets defined.
1998-05-05 10:27:39 +00:00
jb
b66568f2f7 The BINDIR definition is an extra directory level away, so include it
explicitly.
1998-05-05 08:57:11 +00:00
jb
48a53f730d Oops, missed the common part of gas. 1998-05-05 08:53:27 +00:00
bde
18a4860185 Don't generate a2p.h or y.tab.h from a2p.y. Neither is actually used,
and building a2p.h clobbered the unrelated source file a2p.h if
${.OBJDIR} == ${.CURDIR}.
1998-05-05 05:25:21 +00:00
jb
6e6cd73247 Support cross architectures by using specific directories instead of
the ones that match the host.
1998-05-04 22:09:10 +00:00
jb
07ae6a1cd9 i386 gas config files. 1998-05-04 22:05:54 +00:00
jb
68946743c2 Alpha gas config files. 1998-05-04 22:04:55 +00:00
jb
de7cf23d85 Support cross-architectures using sub-directories. 1998-05-04 22:03:00 +00:00
jb
d6e6b18362 Add support for cross-architecture gases. Since the GNU code doesn't
support more than one architecture at a time, build as from the
default for the host and if CROSS_TOOLS defines other architectures,
build them as as_${arch}
1998-05-04 22:01:27 +00:00
jb
b94d2d51b6 BINDIR is now specified in a single place. There are no cross-architecture
issues with this utility.
1998-05-04 21:51:32 +00:00
jb
498f0b7f68 Work out the list of emulations based on the cross-architectures
defined. The TARGET is now set from an included makefile.
1998-05-04 21:38:46 +00:00
jb
1123eec8d4 Add cross-architecture support. 1998-05-04 21:29:54 +00:00
jb
db186c5f78 BINDIR is now specified in a single place. There are no cross-architecture
issues with this utility.
1998-05-04 21:27:17 +00:00
jb
de5f2b02c8 BIDIR is now specified in a single place. There are no cross-architecture
issues with this utility.
1998-05-04 21:23:23 +00:00
jb
5162c01e16 Evaluate the TARGET from the architecture. We'll assume that FREEBSD
is ELF from here on.
1998-05-04 21:21:17 +00:00
jb
0de52d3ae8 Remote i386 cross-architecture support. It's now configurable, and off
by default.
1998-05-04 21:18:46 +00:00
jb
ede6adce70 Add cross-architecture support. 1998-05-04 21:16:46 +00:00
jb
6e5674b484 Since the makefiles below binutils with the architecture extension
are now included according to the cross-architecture support required,
default the BINDIR for i386 to /usr/libexec/elf here instead of in
all the i386 specific makefiles. For all other architectures, BINDIR
is just /usr/bin.
1998-05-04 21:13:50 +00:00
jb
2f13136793 Add makefile support for cross-architectures. Allow CROSS_TOOLS to
be defined (in /etc/make.conf, say) and set to the additional architectures
that need to be compiled in. So on alpha I set CROSS_TOOLS = i386.
On i386 you can't build alpha due to lack of 64-bit support on 32-bit
architectures, but that's a GNU problem.

This change relies on makefiles in the binutils sub-directories having
the extension defined in the CROSS_TOOLS, instead of those makefiles
being selected based on the host architecture.
1998-05-04 21:10:56 +00:00
bde
6a77e9f036 Fixed races in `make -jN' using new yacc rules. 1998-05-04 20:09:06 +00:00
bde
50177b6413 Don't add y.tab.h to CLEANFILES, since this would now be done centrally
if y.tab.h were generated.  Don't generate y.tab.h, since it is not used.
1998-05-04 18:13:54 +00:00
bde
7ff9e41f25 Simplified using new yacc rules. This is cosmetic - the old rules
worked because .ORDER prevented problems from concurrent generation
of multiple parsers (and their headers), and there were no missing
dependencies because the generated headers were not actually used.
1998-05-04 17:56:22 +00:00
bde
d6f36ccf87 Simplified using new yacc rules. This is cosmetic - the old rules worked
with `make -jN' because they did the right things to generate cexp.h
without clobbering cexp.c, and there were no missing dependencies on
cexp.h because cexp.h isn't actually used.

Fixed style bugs.
1998-05-04 16:58:50 +00:00
bde
2daef1b2dd Fixed races in `make -jN' using new yacc rules. This also fixes plain
`make' (without a previous `make depend').
1998-05-04 16:31:41 +00:00
bde
4a27e271a6 Fixed races in `make -jN' using new yacc rules.
Fixed slightly wrong order of -I's in CFLAGS.

FIxed the usual style bugs in DPADD and LDADD.
1998-05-04 16:22:30 +00:00
bde
eb3a97224d Symlink awk.y to awktab.y so that the default yacc rules apply, and use
the (new) default yacc rules.  This is cosmetic - the special rule was
good enough here because y.tab.h is not used.

Don't generate y.output.
1998-05-04 16:18:57 +00:00
wosch
c6d2d64985 Added a alpha category to the list. 1998-05-04 10:13:08 +00:00
ache
bee50ca004 Do not store the same config.h twice - use one from bc directory 1998-05-01 19:20:42 +00:00
ache
65e1c8bf81 Add missing -DHAVE_CONFIG_H 1998-05-01 19:13:41 +00:00
bde
e289066130 Inherit BINDIR properly. 1998-05-01 14:48:06 +00:00
bde
a6a0252a62 Fixed apparent bitrot (=' changed to ?=') in the definition of BINDIR
in the previous commit.  Just don't define it here at all.  This works
now that the default is inherited properly.
1998-05-01 14:44:00 +00:00
bde
0ebc6eb30c Removed self-inclusion-prevention ifdef. It is unnecessary now that
bsd.man.mk doesn't include ${.CURDIR}/../Makefile.inc.

Removed GDBDIR-redefinition-prevention ifdef.  It hasn't done anothing
for a long time, if ever.  The directory is defined to the same value in
each subdir and had the same value because all subdirs are at the same
level.  Keep defining it in the subdirs since that is more flexible and
no more verbose.

Prepare to inherit BINDIR by including ../Makefile.inc.
1998-05-01 14:37:36 +00:00
bde
d3771978e2 Oops, This should have been committed with the Makefile change that
requires the new file.

Fixed stale near-copy of contrib/libreadline/doc/hsuser.texinfo.  Patch
it at build ntime, and only keep the patch for it here.

Don't keep a copy of contrib/gdb/gdb/doc/all-cfg.texi here.  Link to it
at build time.
1998-05-01 14:13:00 +00:00
bde
73fe35c00a Fixed dependencies.
Fixed stale near-copy of contrib/libreadline/doc/hsuser.texinfo.  Patch
it at build ntime, and only keep the patch for it here.

Don't keep a copy of contrib/gdb/gdb/doc/all-cfg.texi here.  Link to it
at build time.
1998-05-01 14:08:30 +00:00
des
cf92fa4694 Don't delete man pages with colons in their name (e.g. Perl 5 manpages)
PR:		bin/5439
Submitted by:	Martin Kammerhofer dada@sbox.tu-graz.ac.at
1998-05-01 13:27:27 +00:00
bde
f89cad2dee Added missing -DHAVE_CONFIG_H to CFLAGS. It happens to be a no-op here
only because dc doesn't use anything in the gnu library that has a
significant dependency on config.h.

Simplified paths.
1998-05-01 12:01:57 +00:00
andreas
bc4783b950 Style:
$Id$ should be preceded by a tab
Don't include ../Makefile.inc when it is not used explicitly
Use the normal amount of horizontal and vertical whitspace (1 tab/none)
Don't override the (correct) default for MAN1
Use the correct order for -I paths
Use config.h generated by `configure', don't use a huge CFLAGS statement
Enable useage of libreadline in config.h, configure didn't enable it itself.
1998-05-01 10:01:02 +00:00
andreas
92d074975b Style:
- Makefiles shouldn't have copyrights.
- $Id$ should be preceded by a tab.
- Don't include ../Makefile.inc when it is not used explicitly.
- Use the normal amount of horizontal and vertical whitspace (1 tab/none).
- Don't override the (correct) default for MAN1.
- Use the correct order for -I paths.
- Don't use += to initialize SUBDIR.
- use the config.h generated by `configure' and don't use a huge
  CFLAGS statement.
I think the other Makefiles under src/gnu needs some polishing as well ;-)
Thanks to Bruce, everythig looks smarter now.
Obtained from:	Bruce Evans <bde@zeta.org.au>
1998-05-01 09:51:31 +00:00
dfr
defbb23e55 Add ELF support. 1998-05-01 08:40:11 +00:00
ache
20965c43df Add libtermcap to DPADD too 1998-05-01 04:42:53 +00:00
scrappy
36d95efc69 -ltermcap is required due to -lreadline else you get missing functions
like 'tputs()' et al...
1998-05-01 02:49:40 +00:00
ache
741c006bee Use generated bc.h 1998-04-30 15:59:49 +00:00
ache
00781e5fed Turn on Readline support 1998-04-30 08:14:04 +00:00
dfr
b6d45ffb75 Add support for ELF shared libraries. Also use bfd from the binutils in that
case rather than gdb's own copy.
1998-04-30 08:03:50 +00:00
ache
209947fd5f fix make - use -I${.CURDIR} instead -I. 1998-04-30 07:52:05 +00:00
ache
c7fe152504 Fix make - use -I${.CURDIR} instead of -I. 1998-04-30 07:50:49 +00:00
dfr
17e60949a1 This was broken for ELF builds. 1998-04-30 07:38:27 +00:00
andreas
fc00353bf3 update dc utility as well
after importing the new bc-1.0.4 sources,
which contain the latest DNU dc version
1998-04-29 22:15:05 +00:00
andreas
fc12edd4a3 remove old bc-1.0.3 stuff
modify Makefile, to get bc-1.0.4 from src/contrib/bc
adjust config.h
PR:		closes 4183
1998-04-29 22:05:39 +00:00
ache
5876bb2aaa Upgrade to 2.2 1998-04-28 07:16:24 +00:00
bde
653fa61329 Fixed missing dependencies. The critical missing one was of bi-lexer.o
on bi-parser.h.  Not having it sometimes (only with `make -j') triggered
a bug suite that led to ordinary cpp output being put in .depend files.
Various bugs (the main one only with `make -j') prevented timely detection
of failure to build and install gnu/usr.bin/cc.  Eventually the missing
${WORLDTMP}/usr/libexec/cpp caused ${WORLDTMP}/usr/bin/cpp to be invoked
by cc, and this version of cpp is not suitable for such invocation.
Ordinary cpp output was put in .depend files when cpp terminated options
processing before seeing the -M flag.

Cleaned up.
1998-04-23 16:30:51 +00:00
eivind
fb823368ea Add an ".ifmake regress" to avoid warning during 'make world'.
Noticed by:	bde
1998-04-19 14:27:45 +00:00
bde
f2eb5898a6 Never generate neqn at install time (the previous fix for this was
incomplete).
1998-04-19 13:25:54 +00:00
jdp
e3551837c7 Fix the assembler so that it produces object files with the correct
magic number byte ordering for FreeBSD.  This makes "file" describe
our object files as "FreeBSD/i386 object" instead of as NetBSD
object files.  In case this seems drastic and risky, Bruce points
out that the "ld -r -x" step that is done on every object file when
building libraries fixes the byte ordering in the same way.  I have
been running with this patch for over a month and have seen no
problems.
1998-04-10 01:20:40 +00:00
jdp
8bd8fe03f1 Fix a bug which clobbered linker set symbols that had forward references.
With -O3, egcs generates such forward references.

PR:		gnu/6055
Reviewed by:	jdp
Submitted by:	Dmitrij Tejblum <tejblum@arc.hq.cti.ru> in slightly different form
1998-04-07 17:10:01 +00:00
charnier
279976e0ae Use .An/.Aq. 1998-04-01 06:29:16 +00:00
charnier
dfb7ad7bad .Use .An. 1998-04-01 06:26:40 +00:00
charnier
75fd82bc71 Use .An/.Aq. 1998-04-01 06:22:28 +00:00
charnier
356b5642c1 Use .An/.Aq.PR: 1998-03-31 06:52:28 +00:00
jdp
4719e802ae Give up on a.out support in binutils. It has too many problems to
be worth much effort.  Install all i386 binutils programs in
"/usr/libexec/elf".  Disable a.out support in libbfd.  It's too
dangerous to leave it in.  Some of the utilities think they can
handle a.out, but they generate bad object files.
1998-03-30 02:21:27 +00:00
jdp
864a637ca2 Add c++filt. 1998-03-30 02:19:09 +00:00
jdp
b2a8915ff0 Add support for the AT&T style "fildll" and "fistpll" mnemonics.
These are equivalent to "fildq" and "fistpq" respectively.  This
fixes the bad floating point object code that resulted after recent
changes in the compiler.

Test driven by:	"Mike Burgett" <mburgett@awen.com>,
		Amancio Hasty <hasty@rah.star-gate.com>
1998-03-29 01:38:39 +00:00
eivind
4be7a3d820 Activate CVS regression test. 1998-03-28 19:06:21 +00:00
dima
6fcc7e1ae3 Don't build sperl if you don't want to. 1998-03-26 06:06:22 +00:00
bde
f291ac2d4d 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
bde
fdb190e183 Honour -static in LDLAGS. ld without -Bstatic is happy to choose
static libraries if there are no shared libraries in the search path,
but gcc without -static blindly attempts to link crt0.o.
1998-03-23 11:50:38 +00:00
bde
8f04cb6a75 Generate files at build time, not at install time. This should be the
last fix of this type.  Installing from a read-only object tree should
work now.

Install files using a single install command where this is easy; don't
use shell loops.

Don't use MANDEPEND to complicate things.
1998-03-21 12:12:55 +00:00
bde
5b605c6bc0 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
bde
a49cc476c2 Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.
1998-03-20 12:13:10 +00:00
bde
5a71334c65 Put generated source files in SRCS. This fixes races generating
the source files.  E.g., the stale version of locate.cc in the
source directory was sometimes used.  We didn't even use beforedepend.

Added temporary files to CLEANFILES.

Fixed some style bugs.
1998-03-20 12:05:50 +00:00
bde
b05eb6bff2 Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.

Don't use MANDEPEND to complicate things.  Just put the generated
man page in CLEANFILES.

Partly fixed yacc header brokenness, as in ../eqn/Makefile.

Added temporary files to CLEANFILES.

Fixed some style bugs.
1998-03-20 12:04:59 +00:00
bde
9a8bd5ce8d Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.

Don't use MANDEPEND to complicate things.  Just set MAN1 and put
generated man pages in CLEANFILES.

Added temporary files to CLEANFILES.

Partly fixed a potentially fatal bug involving the yacc header.
We generate eqn.cc (even if there is a version of it in the source
directory older than eqn.y) and a matching eqn.tab.h, but only use
the possibly-non-matching eqn.tab.h in the source directory.  This
works because Cygnus's yacc happened to generate a y.tab.h identical
to the current generated one.  The correct version will be used
when the wrong version is deleted from the source tree.  Kludge to
get the header generated early enough.  Yacc headers are mishandled
everywhere they are renamed (and used).

Generate neqn at build time, not at install time.

Fixed some style bugs.
1998-03-20 12:03:53 +00:00
bde
d050384644 Removed bogus -I path. The correct path is in all subdir Makefiles
where it matters.
1998-03-20 11:08:52 +00:00
bde
e04214d4ef Removed vestiges of use of beforedepend target. 1998-03-19 15:21:19 +00:00
obrien
f25718d167 I goofed on the `LINKS' syntax.
Submitted by:	Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1998-03-18 12:28:09 +00:00
hoek
d555200a6e This is uulog.1, not uuname.1.
PR:		docs/5980
1998-03-16 15:07:50 +00:00
jdp
3faa4c248d Make the binutils strip ELF-only for now. It isn't quite right for a.out. 1998-03-15 02:08:04 +00:00
jdp
a82c785c1f Disable support for the a.out-i386-bsd target. Everything it can do
seems to be supported in the a.out-i386-freebsd target.  When both
are present, there are sometimes complaints of "ambiguous file
format."
1998-03-14 01:40:31 +00:00
jb
40631c1b01 Add binutils if BINFORMAT is elf. This is needed for alpha, and it
works on i386, but is still disabled until you set BINFORMAT.
1998-03-13 19:34:40 +00:00
bde
aa5b691e26 Put sources in SRCS and don't depend on them in beforedepend. IIRC,
this is to fix `make -j50' where `make -j18' worked.  The race may
just have been more likely to be lost for -j50.
1998-03-12 13:03:06 +00:00
jb
d7785ecc91 Configure alpha to disassemble both alpha and i386 opcodes. 1998-03-12 13:02:46 +00:00
bde
cfd76e19bd Fixed `make -jN depend' (N >= 2) by removing the beforedepend
target.  .ORDER doesn't work right, but is used for things related
to the depend target.  It "works" for the depend target by skipping
the build of .depend when N >= 2 and there is a non-default
beforedepend target with no rules.  Recent fixes made almost all
the beforedepend targets in the tree a no-op except for this bug.

Removed vestiges of elf and aout targets.
1998-03-12 12:52:24 +00:00
jb
e36c68ea00 Configure bfd for elf64, elf32, and aout. Yes alpha can handle i386
formats. No i386 can't handle alpha formats. 8-)
1998-03-12 12:29:20 +00:00
jb
3bda5008ec Define the target type for alpha. 1998-03-12 08:00:03 +00:00
jb
e625dba821 Add the alpha makefile.
Move tc-i386.c from Makefile to Makefile.i386 'cause alpha doesn't
like trying to swallow it. Indigestion, I think.
1998-03-12 06:51:48 +00:00
jb
442edc88f5 Change the include path for bfd.h to libbfd/${MACHINE_ARCH} since
I moved the location of that architecture specific file.
1998-03-12 05:59:22 +00:00
jb
97655cf34a This file was generated on i386, so it has been moved to the i386
sub-directory. It differs from the alpha version.
1998-03-12 05:31:34 +00:00
jb
6bb9456964 This file was generated on i386 by the update.sh script in
src/gnu/usr.bin/binutils.
1998-03-12 05:29:44 +00:00
jb
7bd0540058 These files were generated on alpha by the update.sh script in
src/gnu/usr.bin/binutils.
1998-03-12 05:26:30 +00:00
jdp
50d3710f6f Replace empty install targets with definitions of INTERNALLIB and
INTERNALSTATICLIB to suppress installation of internal libraries.
1998-03-12 05:14:19 +00:00
jb
8167eafab3 Change script to get the machine type from `uname -m' and make
the binutils headers for (machine)-unknown-freebsdelf.

Also copy the bfd.h header to an architecture specific directory
because there are two fundamental lines that differ (32-bit vs 64-bit)
between i386 and alpha.

The config.h for libbinutils generates the same on alpha as i386,
so I didn't change that (though I was tempted!).
1998-03-12 04:54:42 +00:00
jdp
9fc1bbbc87 Restructure the binutils hierarchy somewhat in order to better
support building it for variant architectures.  It was already
becoming clear that the former structure was too rigid and didn't
scale well.

The usual sort of makefile magic arranges to .include an architecture
specific makefile "Makefile.${MACHINE_ARCH}" in each directory
where it exists.  Also, sources will be found in each subdirectory
"${MACHINE_ARCH}" that exists.  This is all taken care of automatically
by the top level "Makefile.inc0".

This all seems to work right for the i386 now.  I have also converted
those alpha pieces already present to the new schema as best I
could.

Also: change the BINDIR on the i386 to /usr/libexec/elf for "ar"
and "ranlib".  They are not object format independent enough to
put into /usr/bin.
1998-03-12 02:55:43 +00:00
guido
6b4da9c835 mktemp -> mkstemp as pointed out on bugtraq
Obtained from: Theo de Raadt
1998-03-10 19:43:27 +00:00
peter
6516ee639e indicate ability to support the PerservePermissions stuff 1998-03-10 14:12:09 +00:00
peter
dcd62774c6 add new file (hardlink.c) into sources 1998-03-10 14:00:59 +00:00
jkh
fd926f9fec Eliminate duplicated lines.
PR:		5956
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.j>
1998-03-09 11:13:17 +00:00
jb
2c4ce4bfef We want ld in /usr/bin, not some weird and wonderful hiding place
that might be inspired by some creation from Intel. Doh.
1998-03-09 06:07:27 +00:00
jb
125facd7a9 This commit was generated by cvs2svn to compensate for changes in r34336,
which included commits to RCS files with non-trunk default branches.
1998-03-09 00:33:28 +00:00
jb
14511b916b Import of alpha specific bits to configure binutils for FreeBSD/Alpha.
Other changes that affect the i386-elf work are on hold to avoid
stuffing up other work in progress.
1998-03-09 00:33:28 +00:00
peter
3f6e19e69b Use cc -E rather than cpp when looking for __ELF__ 1998-03-08 17:25:10 +00:00
obrien
2cdcc81198 add CC' as a link to c++' for compatablity with SGI. 1998-03-08 12:27:04 +00:00
peter
df308e4a7b Set LIB_PATH explicitly otherwise genscripts makes (incorrect) references
all over the place.
1998-03-08 08:08:39 +00:00
peter
d60ffbf143 First round of changes to support generation of assembler for the old
a.out gas and the binutils gas (elf or a.out) with a single compiler.

This uses other infrastructure not yet committed, in order to support
both a.out and elf it needs to be able to get to both a.out and elf
gas, ld, libs, crt* etc.  So for now, the support is pretty much dormant.

The new freebsd.h file is based on the old freebsd-elf.h file (which has a
long lineage, right back through linux and svr4 files).  The change is
pretty dramatic from a gcc internals standpoint as it overrides a lot of
definitions in order to generate different output based on target mode.
There is potential for screw-ups, so please be on the lookout - gcc's
configuration mechanism wasn't really meant for this kind of thing.
It's believed to compile world etc just fine under both a.out and elf, can
handle global constructors and destructors, handles the differences in
a.out and elf stabs, and what sections things like exceptions go in.

The initial idea came from i386/osfrose.h which is a dual rose/elf format
target.  These two are not as diverse as a.out and elf it would seem.

The cc front-end uses external configuration to determine default object
format (still being thrashed out, so read the source if you want to see
it so far), and has a '-aout' and '-elf' override command line switch.
There are some other internal switches that can be accessed, namely -maout,
-mno-aout, -munderscores and -mnounderscores.  The underscore and local
symbol prefixing rules are controllable seperately to the output format.
(ie: it's possible to generate a.out without the _ prefixes on symbols and
also to generate elf with the _ prefixes.  This isn't quite optimal, but
does seem to work pretty well, except the linkers don't always recognise
the local symbols without their normal names)

The default format is a.out (still), nobody should see any major changes.

With both elf and a.out tools and libraries installed:

[1:26pm]/tmp-223> cc -elf -o hello hello.c
peter@beast[1:27pm]/tmp-224> file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped
[1:27pm]/tmp-225> ./hello
hello world!

[1:27pm]/tmp-226> cc -aout -o hello hello.c
[1:27pm]/tmp-227> file hello
hello: FreeBSD/i386 compact demand paged dynamically linked executable not stripped
1:27pm]/tmp-228> ./hello
hello world!

Since my co-conspirators put a lot of effort into this too, I'll add them
so they can share the blame^H^H^H^H^Hglory. :-)

Reviewed by: sos, jdp
1998-03-08 05:29:49 +00:00
wosch
b728109806 Delete cc(1) debug option, typo from last commit.
Pointed out by: Søren Schmidt
1998-03-07 16:13:57 +00:00
bde
5eb504656a Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
1998-03-07 09:46:17 +00:00
bde
05b2adffff Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries, so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.
1998-03-07 08:55:00 +00:00
guido
f2be303d75 Open temporary files with O_EXCL.
Obtained from:bugtraq
1998-03-06 19:00:26 +00:00
bde
75ec8a3d0b Fixed `make -jN' for large N. The usual method of pretending that all
objects depend on all generated headers doesn't work because it gives
cyclic dependencies.  Give enough dependencies explicitly.  We no
longer need to use .SINGLESHELL for `make depend'.  .SINGLESHELL was
more of a bottleneck than usual because `make depend' makes everything.

Fixed some spelling and English errors.
1998-03-06 13:34:36 +00:00
bde
e411f3a998 Fixed `make -jN' for large N. Just put the generated headers in
${SRCS} instead of giving inadequate explicit dependencies.  There
is still a problem after `make depend; make clean'.  Then `make'
barely works, and `make -jN' is confused by absolute paths in
.depend.
1998-03-06 13:13:15 +00:00
jdp
9b37bc13df Fix the broken installation of strip. It tried to use the installed
strip program (via "install") to strip itself.  But the program
wasn't executable because "install" hadn't made it so yet.  I
borrowed the method used for the old strip to get around this.
1998-03-06 00:28:04 +00:00
jdp
3be3aa3a83 This commit was generated by cvs2svn to compensate for changes in r33975,
which included commits to RCS files with non-trunk default branches.
1998-03-01 23:41:17 +00:00
jdp
8222bc81a2 Add bmakefiles for building binutils from the contrib tree.
This finishes up the binutils import.  But I am leaving it disabled
in "src/gnu/usr.bin/Makefile" for now.  It is not used by anything
yet, so I'll take this opportunity to run one more round of tests
before enabling it.
1998-03-01 23:41:17 +00:00
bde
4dbde8d742 Don't add streambuf.cc to SRCS twice. 1998-02-25 01:23:28 +00:00
steve
f4ab860453 Build perl header files for machine/* too.
PR:		672
Submitted by:	Jun Kuriyama <kuriyama@opt.phys.waseda.ac.jp>
1998-02-21 04:06:24 +00:00
jkh
46df9e32e2 Correct spammage from MACHINE_ARCH commit - you don't want to
*replace* the SUBDIR list in that case, you want to augment it.
Also move a stray .endif to its proper location.  Heh, no wonder my
release builds were falling over! ;)
1998-02-20 16:14:37 +00:00
bde
53190093b4 Don't create an unused obj directory. 1998-02-20 11:18:57 +00:00
jb
6a4c0d5afa No binutils yet 8-(, and a few programs that need porting to alpha.
Make them i386 specific for now.
1998-02-19 09:34:59 +00:00
jb
ecf00142e9 Just one of these libs left to port to alpha. 1998-02-19 07:30:06 +00:00
steve
7a321c3428 The ' character is treated differently as the first character of a line.
PR:		5754
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1998-02-15 17:03:58 +00:00
bde
e959faf3eb Fixed printing of %fs and %gs for live kernels.
Only print the current pcb on startup.  Printing it every time a utility
routine was called messed up the register dump for live kernels.
1998-02-13 02:45:26 +00:00
alex
3d32fd0387 catman(1) is now invoked by /etc/periodic/weekly/330.catman. 1998-02-07 05:17:47 +00:00
jdp
a1b356b0ca Implement dladdr. 1998-02-06 16:46:46 +00:00
danny
5a14da0288 Submitted by: Alex Nash
Style nit - extraneous space.
1998-02-04 07:04:44 +00:00
steve
8088468559 setpwent and endpwent have a return type of void, so change this
to work like newer versions of perl.

Reviewed by:	Bruce Evans
1998-02-01 22:04:49 +00:00
peter
73c1b2e16a comment that pvcs_to_rcs is left out since it needs perl5 1998-01-26 04:33:03 +00:00
peter
a4486bf67a Add libdiff 1998-01-26 04:21:52 +00:00
peter
5bedf7ec33 Build the internal libified diff 1998-01-26 04:14:21 +00:00
peter
620564a0e1 Update options.h as per configure generated version 1998-01-26 04:02:05 +00:00
peter
8f8152b202 Update config.h 1998-01-26 03:59:21 +00:00
jb
dee462b2ca Make machine dependent asm code machine dependent. 8-) 1998-01-25 09:52:32 +00:00
jb
05144535f3 Change MACHINE -> MACHINE_ARCH so that the design make sense on those
machines where the processor chip determines the compiler, and where
multiple machines use the same architecture.
1998-01-25 09:49:00 +00:00
jb
bc1fc82219 Modify for MACHINE_ARCH support instead of assuming just x86.
Added alpha and m68k stuff.
1998-01-25 09:45:00 +00:00
ache
227920f6c8 Add PATCH_INDEX_FIRST environment variable to do the same as -I option 1998-01-22 07:44:04 +00:00
ache
2e6f80745a Update usage line with new option 1998-01-21 15:15:39 +00:00