From: George Marsaglia Newsgroups: comp.os.msdos.djgpp Subject: -lf2c for f2c Date: Thu, 01 Oct 1998 09:44:59 -0400 Organization: Florida State University Lines: 20 Message-ID: <3613875B.D29BE24B@stat.fsu.edu> NNTP-Posting-Host: xyp02-17.acns.fsu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5b1 [en] (Win95; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Some of the users of The Diehard Battery of Tests of Randomness rely on f2c conversions of the original Fortran code. Those C versions warn that to invoke the gcc compiler, use gcc -lf2c -lm file.c in that order. But gcc downloaded from djgpp balks at the -lf2c option. Can anyone suggest how to fix this? (Please don't suggest rewriting the code in C; that has already been done by several contributors. But some, used to the f2c code on other platforms and wanting to try it on an Intel PC, may want to compile the f2c versions with djgpp's gcc.) George Marsaglia geo AT stat DOT fsu DOT edu