Bill Allombert on Thu, 19 Sep 2002 11:54:25 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Configure update


On Wed, Sep 18, 2002 at 12:50:23PM -0700, Ilya Zakharevich wrote:
> Thanks for posting this: Math::Pari has a distinct configuration
> process, so I need to duplicate such changes...
> 
> On Wed, Sep 18, 2002 at 02:50:30PM +0200, Bill Allombert wrote:
> >    rep='none sparcv7 sparcv8_super sparcv8_micro sparcv9
> > -       m68k ix86 i386 i486 i586 i686 hppa alpha mips fx2800'
> > +       m68k ix86 i386 i486 i586 i686 alpha arm fx2800 hppa mips 
> > +       ppc s390'
> 
> Added:	arm ppc s390
> No:	ia64
Ohhh thanks! I missed it.
> 
> >    i?86)          asmarch=ix86 ;         pretty=$arch ;;
> > -  hppa)          asmarch=none ;         pretty=HP
> > +  ia64)          asmarch=none ;         pretty=ia64 ;;
> > +  hppa)          asmarch=none ;         pretty="HP Precision"
> >          case "$osname-`uname -r`" in
> >          hpux-?.10.*)  asmarch=$arch ;;
> >          esac ;;
> >    alpha)         asmarch=$arch;         pretty=Alpha ;;
> > +  arm*)          asmarch=none;          pretty=$arch ;;
> >    mips)          asmarch=none;          pretty=Mips ;;
> >    fx2800)        asmarch=none;          pretty="Alliant FX/2800" ;;
> > +  ppc)           asmarch=none;          pretty="Power PC" ;;
> > +  s390)          asmarch=none;          pretty="S/390" ;;
> 
> Added: arm ppc s390 ia64.
> 
> Is it an oversight in the first part?

Yes... sorry.

> BTW: what is the point of adding something which is mapped to none?
> Is only the prettyprinting of the name affected by these patches?

Yes, and also this avoid the " Warning ! architecture $arch not tested" which
is no more justified, since I *have* tested them, running Debian GNU/Linux,
see the MACHINES files.


> > -  hp*)      arch=hppa; osname=hpux;;
> > +  hp*)      osname=hpux; arch=`uname -m`
> > +            if test "x$arch" = "x" ; then arch=hppa; fi ;;
> 
> What is the intent of this?  What happens with this arch afterwards?
> It is mapped to asmarch=none if not hppa?

The only thing I can say for sure is that there are now ia64 runing hpux,
and this check make them appear as 'hppa-hpux'

Thanks a lot for the check!

Cheers,

Bill.