From: combee AT cambridge DOT scr DOT slb DOT com (Leendert Combee) Message-Id: <199704071317.OAA00843@tartan.scr.slb.com> Subject: Re: clock() for G77 To: djgpp AT delorie DOT com Date: Mon, 7 Apr 1997 14:17:51 +0100 (BST) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > I had this problem too. The only thing that can help, write > a C stub for those C-finctions which you'd like to use in FORTRAN code. > Something like this: > > #include > > int clock_() > { > return (int) clock(); > } > Wouldn't it be wonderful if we could tell g77 (and f77 on unix etc) to allow for function modules *without* underscores at the end so that C-functions can be called directly. The underscore business must be a relic from the past that, imho, we need to get rid of asap! I think that within the gcc/djgpp environment it shouldn't be too difficult...? Leendert