Mail Archives: djgpp/1997/04/07/09:26:41
> 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 <time.h>
>
> 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
- Raw text -