Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 1998 10:12:43 +1000 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        ports@FreeBSD.ORG
Subject:   Supporting multiple architectures in ports
Message-ID:  <199805150012.KAA16264@cimlogic.com.au>

next in thread | raw e-mail | index | archive | help
How is this done?

I now have FreeBSD/Alpha installed on a disk running mostly code from
the FreeBSD tree. Only those things that are kernel internal specific
are retained from NetBSD. Today I tried for the first time to build
a port - ssh, which is supposed to work on NetBSD/Alpha, and therefore
FreeBSD/Alpha too if I've got enough of the 64-bit bugs fixed.

It seems to me that there are three types of ports:

1. Ports built from sources that know __FreeBSD__ and can be patched to
   respond to i386 and __alpha__ if required and if they don't already.
2. Ports which contain sources that might build on more than one
   architecture, but some sort of support (like devices) is not
   available for some reason.
3. Binary ports that only work on one architecture.

>From what I can see, many ports fit into 1. No problem there. But what
about those in 2 and 3? We need some way of saying "this is specific to
there architectures..." and have make compare ${MACHINE_ARCH} to decide
is the build machine is of them.

Thoughts?

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805150012.KAA16264>