Commit Graph

10 Commits

Author SHA1 Message Date
John Birrell
a33371d938 Gas build for i386 requires env as a build tool. 1998-05-05 08:40:38 +00:00
John Birrell
00a032f666 Add a message about editing /etc/group to the beginning of the build.
FreeBSD needs a few groups that NetBSD doesn't provide by default. This
is annoying because it is the only thing that you need to do to a
NetBSD/Alpha system to bootstrap build FreeBSD/Alpha. Oh well, it
wouldn't be Unix without gratuitous differences, would it?
1998-05-05 07:01:40 +00:00
John Birrell
c911e0775c Add `hdrs' to the beforeinstall for libss so that the headers are
available for install.

I thought that was what beforeinstall was supposed to do. Sigh.
1998-03-30 23:10:39 +00:00
John Birrell
6f097c9e99 Fix a cut'n'paste error that added a stray gnu to a few paths. 1998-03-23 22:18:42 +00:00
John Birrell
592ec7c1e4 Once the new gcc is built, the shared library loader is configured as
the FreeBSD one which isn't built during the bootstrap. This causes all
programs that normally use shared libraries to fail to exec with
"ELF: not found". Sub-optimal. So force the boot strapped programs
to be linked statically.

To install the FreeBSD header files requires both the include tools and the
lib tools. And the libraries require the FreeBSD headers, so the first
build of the tools compiles FreeBSD source against NetBSD headers and
libraries. These tools are then used to install the headers and build
the FreeBSD libraries. After doing that, go back and rebuild the tools
_again_ so that they are fully FreeBSD (src, headers, libs). And only
then go on to build the rest of the FreeBSD system with _only_ FreeBSD
tools.
1998-03-12 03:20:48 +00:00
John Birrell
e28262f389 Put a -DBOOTSTRAP in the make flags for the lib-tools so that the
crt objects built during that phase don't try to find FreeBSD specific
headers. This causes the rtld to be left out, but that's OK because
at this stage, the programs are linked statically anyway.

When the libraries are built, the crt objects will be built with
the FreeBSD tools and compiled against the FreeBSD headers, so that's
the time when the rtld support cuts in.
1998-03-11 21:00:49 +00:00
John Birrell
ecbf763f3a Update the blurb at the top of the script that describes where the
port is up to and that to do.

Change MACHINE to MACHINE_ARCH so that a symlink can be created to this
file and have the bootstrap work for other NetBSD ports.

Make the csu directory non-optional and build it immediately after
building gcc which *needs* the new csu files. The link spec for gcc
on FreeBSD/Alpha differs from the NetBSD/Alpha version. I decided that
since this is FreeBSD, it should have a FreeBSD flavour and it makes sense
to keep compatibility with other FreeBSD implementations - in this case
FreeBSD/i386-elf.
1998-03-10 20:25:17 +00:00
John Birrell
2b9ede499c Update to build binutils (yay!), so that ar, ld, as, strip, nm, objcopy,
objdump all build out of the FreeBSD tree. At EDS we used to call this
a "significant emotional event".

Still using the lorder script from NetBSD until I can explain why the
is a difference in nm behaviour when the output looks the same.
1998-03-09 00:25:30 +00:00
John Birrell
012f11e8dd With the exception of tools that should come from GNU binutils,
this makefile will bootstrap all libraries and tools needed to build
the system.
1998-02-19 07:25:03 +00:00
John Birrell
451b485e95 This makefile provides a bootstrap installation of FreeBSD on an installed
NetBSD/Alpha 1.3 system. It currently skips things like libc, ld, gas
but correctly (I think) builds gcc, cpp, g++ and other FreeBSD build
tools that are needed to build the rest of the system.
1998-01-11 04:46:02 +00:00