The patch below brings us the following functionality:
1. FreeBSD 4.0 can be source upgraded to FreeBSD 4.5-STABLE.
(Only "standard" make world has been tested, with an empty
/etc/make.conf.)
FreeBSD 4.0 could be source upgraded to FreeBSD 5.0 even
before this patch. :-)
2. FreeBSD 4.x can cross-build RELENG_4 world for a different
arch. One needs to set TARGET_ARCH/TARGET accordingly.
The changes were passed through the following tests:
make world kernel (on a 4.0-RELEASE machine)
make world kernel TARGET_ARCH=alpha (on a 4.5-STABLE machine)
make release -DNODOC -DNOPORTS (on a 4.5-STABLE machine)
The patch also MFC'es Makefile.inc1,v 1.180 (sys/boot/pc98/boot2
has been converted to an ELF binary).
On Tue, Feb 19, 2002 at 08:21:35AM -0800, Ruslan Ermilov wrote:
> ru 2002/02/19 08:21:35 PST
>
> Modified files: (Branch: RELENG_4)
> . Makefile.inc1
> gnu/usr.bin/perl Makefile Makefile.inc
> gnu/usr.bin/perl/libperl Makefile
> gnu/usr.bin/perl/library Makefile.inc
> gnu/usr.bin/perl/miniperl Makefile
> gnu/usr.bin/perl/pod Makefile.inc
> gnu/usr.bin/perl/x2p Makefile.inc
> share/mk bsd.lib.mk
> Log:
> MFC: cross-building fixes.
>
> Revision Changes Path
> 1.141.2.40 +46 -74 src/Makefile.inc1
> 1.9.2.2 +1 -5 src/gnu/usr.bin/perl/Makefile
> 1.12.2.4 +6 -1 src/gnu/usr.bin/perl/Makefile.inc
> 1.9.2.3 +1 -4 src/gnu/usr.bin/perl/libperl/Makefile
> 1.5.2.3 +1 -2 src/gnu/usr.bin/perl/library/Makefile.inc
> 1.11.2.2 +25 -20 src/gnu/usr.bin/perl/miniperl/Makefile
> 1.2.2.2 +1 -2 src/gnu/usr.bin/perl/pod/Makefile.inc
> 1.5.2.2 +1 -2 src/gnu/usr.bin/perl/x2p/Makefile.inc
> 1.91.2.5 +2 -2 src/share/mk/bsd.lib.mk
--
Ruslan Ermilov Sysadmin and DBA,
r...@sunbay.com Sunbay Software AG,
r...@FreeBSD.org FreeBSD committer,
+380.652.512.251 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Trimmed a bit.
> 2. FreeBSD 4.x can cross-build RELENG_4 world for a different
> arch. One needs to set TARGET_ARCH/TARGET accordingly.
What is the current status of doing "cross-builds" across different
CPU types of the same arch? For example, building for a (486|Pentium)
on an (Pentium II|Athlon). I've never seem to be able to reliably
avoid,
Illegal instruction (core dumped)
--
Crist J. Clark | cjc...@alum.mit.edu
| cjc...@jhu.edu
http://people.freebsd.org/~cjc/ | c...@freebsd.org
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message