gmp CPU identification
manolo@el-mundo.net
manolo@el-mundo.net
Thu, 24 Apr 2003 09:53:54 +0200
I have compiled GMP for p3 and p4 as dll, then I detect the procesort
type and load the best.
On 24 Apr 2003 at 7:14, Kevin Ryde wrote:
> "Juro Bystricky" <jurobystricky@hotmail.com> writes:
> >
> > does anyone know if there is a way to identify the CPU a particular
> > GMP library has been configured/built for? For example, using an AMD
> > ATHLON based library on an Intel platform can cause a GP fault.
>
> An invalid instruction fault perhaps, but shouldn't give a GP.
>
> > A prudent program using GMP library should first check if the
> > installed GMP is CPU "compatible" before trying to use the library.
>
> There's no way to do that, as it stands. Hopefully the system
> administrator is smart enough not to install something that doesn't
> work :-).
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss@swox.com
> https://gmplib.org/mailman/listinfo/gmp-discuss
Manolo
--
Manuel Alvarez Fernandez | Mundinteractivos - El Mundo |
Area de Informatica | Pradillo, 42 |
manolo@el-mundo.net | 28002 - Madrid (SPAIN, EU) |
http://www.elmundo.es/ | Tel: (+34) 915864800 (Ext: 4637) |