Nathalie Jarosz a écrit :
From: Maurice Lombardi <Maurice.Lombardi@ujf-grenoble.fr> To: Nathalie Jarosz <jarosz_n@hotmail.com> CC: gpc@gnu.de Subject: Re: beta distribution Date: Fri, 30 Jun 2000 16:24:07 +0200
Have you read these two text files and those contained in the doc folder ? Usually they contain instructions on whet do do to install the package. Yes of course but nothing clear to me:
INSTALLATION
Directory src contains the C source for most of the routines. The files com.c and randlib.c constitute RANDLIB. The file randlib.h contains prototypes for the RANDLIB routines that should be used (and not for a few internal routines). The C code from these directories should be compiled and placed in a library. Directory test contains three test programs for this code. The file randlib.h in directory test is a copy of that in src.
Where have you gotten randlibc-1.3.tar.gz from ? I get from: http://odin.mdacc.tmc.edu/anonftp/page_2.html#RANDLIB
Well it is simple enough to be made by hand (there are no dependencies). With GNU tools type: cd src gcc -c -O2 com.c gcc -c -O2 linpack.c gcc -c -O2 randlib.c # ^uppercase: meand Optimize # at this point you have created com.o linpack.o randlib.o # to put them in a library librandlib.a type: ar -rv librandlib.a com.o linpack.o randlib.o ranlib librandlib.a # ^ no d: it is a system function #then move librandlib.a into a system wide library directory e.g. /usr/local/lib # randlib.h include /usr/local/include #to check the result cd ../test gcc -O2 -o tstbot tstbot.c -lrandlib ^lowercase: means output ./tstbot #etc... -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 51 45 44 mailto:Maurice.Lombardi@ujf-grenoble.fr