From: "Khimenko Victor" gpc@khim.sch57.msk.ru To: njarosz@fr.packardbell.org, Maurice.Lombardi@ujf-grenoble.fr CC: gpc@gnu.de Subject: Re: beta distribution Date: Sat, 24 Jun 2000 00:34:56 +0400 (MSD)
Gosh! If you have C version then why you need pascal version at all ?
Because I am sorry but I don't know how it works and I don't know how to use something in C in pascal...
You can call C version just fine (take look on GPM library and gmp.pas to see how pascal wrappers for C library can be written).
Where can I find gpm library?
Thanks,
Nathalie
________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Nathalie Jarosz wrote:
You can call C version just fine (take look on GPM library and gmp.pas to see how pascal wrappers for C library can be written).
Where can I find gpm library?
A GPM unit is part of the GPC distribution. On my system if I type
gpc -v
I get the information:
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/specs gpc version 20000619, based on 2.95.1 19990816 (release)
From this I read that can find the units in
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/units/
The file `gpm.pas' in that directory is a Pascal interface to the GPM library. If you have another C library that exports the beta distribution function you can use it the same way by writing a unit.
Hope this helps,
Peter