Using RELENG_8 to compile for older RELENG_x

Roland Smith rsmith at xs4all.nl
Wed Dec 16 10:28:53 UTC 2009


On Wed, Dec 16, 2009 at 04:15:01AM -0500, grarpamp wrote:
> I'm on RELENG_8, works great. I've been bugged to compile some
> things for RELENG_4 boxes. Due to administrative fiat, I have to
> compile externally and ship them the results, no login.

The best thing to do is to convince the guys running RELENG_4 to join the rest
of us in the 21st century, and switch to 8.0 or at least 7.x. Support for the
4.x base system has ended some time ago, and the current ports tree isn't
guaranteed to work on it either.

> So in general, how do I use my RELENG_8 boxes to compile apps that
> will run on RELENG_4?

Create a virtual machine with RELENG_4 on it, that is probably the most
foolproof way. (If you are running an i386 machine, maybe a jail will work.)
Try to compile the software on it. If that software is in ports
and the current port doesn't compile or run, either roll back your ports tree
to a version that works, or try to patch the port to make it work.
 
> Similarly, how can I make buildworld/buildkernel/release for RELENG_4
> on RELENG_8?

Ditto.

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20091216/8ac2ef49/attachment.pgp


More information about the freebsd-stable mailing list