Subject: Re: Any pattern to arch-specific code?
To: None <>
From: Mike Long <>
List: current-users
Date: 01/12/1997 13:43:37
>Date: Sun, 12 Jan 1997 10:46:08 -0600 (CST)
>From: Peter Seebach <>
>Let's say I'm running on a 3/60 and an Amiga with an '040.  Obviously,
>*MOST* of the tree can be shared; can anyone suggest a good algorithm
>for which ones are which?

This might be worth a shot:

grep for 'amiga' or 'sun3' in Makefile* (and *.[ch]?)
grep for '^#[ \t]*include[ \t]+<machine/' in *.[ch]

you can ignore any hits for the latter that refer to headers that are
shared among the m68k ports.
Mike Long <>     <URL:>
VLSI Design Engineer         finger for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil