Subject: Re: Trying to XCompile a mac68k kernel - solved
To: None <>
From: Carsten Hammer <>
List: current-users
Date: 02/04/1997 10:56:14
> My solution was to make lorder.i386, and lorder.m68k, and to change the
> calls to it to be lorder.${MACHINE_ARCH}.

How about changing lorder to something like 

TEMP=`file <objfiles>`
case $TEMP in 
m68k) lorder.m68k;;
i386) lorder.i386;;

where lorder.${MACHINE_ARCH} are the machine dependent
programms (Of course lorder is a candidat that could be
handled inside one script).
The same way there could be scripts for nm,size,ld,ranlib,...