Defining a HAVE_J0 in config.h for gfortran?

Richard Henderson rth@redhat.com
Thu Aug 12 07:35:00 GMT 2004


On Wed, Aug 11, 2004 at 10:13:07PM -0700, Steve Kargl wrote:
> Are stubs acceptable?  That is, if j0 isn't in libm, can I do (in
> psuedo-code)
> 
> j0(arg) {
>    printf("Extension: j0 Bessel function is unsupported.\n");
>    exit(1);
> }
> 
> in libgfortran.

Seems better to just not let it link.


r~



More information about the Gcc mailing list