Karim BELABAS on Tue, 21 Oct 2003 20:23:27 +0200 (MEST)

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

Re: patch for building with openbsd

On Mon, 29 Sep 2003, Bill Allombert wrote:
> On Mon, Sep 29, 2003 at 04:44:20PM +1000, Rodger Allen wrote:
> > I've been playing with getting pari to compile on OpenBSD and have made
> > some patches to the current CVS tree (29 Sept 2003) for this purpose.
> > The attached is just a "cvs diff -c" against the tree.
> > I have tested this against the pari kernel, and linked against gmp.  This
> > was built against OpenBSD-3.3 on an i386.  I do not have access to other
> > hardware at the moment, so I cannot say how it would go against anything
> > but this architecture.
> For that purpose it would be nice if you improved arch-osname to get
> the architecture name right on OpenBSD (and FreeBSD if possible).
> Adding arch=`uname -m` is usually sufficient providing the name match
> what is understood by PARI/GP.

I have incorporated the patch in CVS (unstable branch as usual).

Since I modified it heavily to take into account Bill's remark, it would be
nice if somebody with access OpenBSD (and FreeBSD) could check that nothing
went wrong (at least it fixed architecture name under Cygwin, although this
was not my primary goal...)


Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425   Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://www.parigp-home.de/  [PARI/GP]