Hi Ed,

* Ed Hartnett wrote on Tue, Feb 07, 2006 at 06:29:29PM CET:
> Ralf Wildenhues <[EMAIL PROTECTED]> writes:
> >
> > What are the differences that are important to you?  Can they be
> > recognized by a suitable test to be done in `configure'?  Without
> > running generated executables?  What if one of the compiler changes
> > in one of the interesting features (fixes some bug, or so)?
> 
> Of course I realized this while cycling home yesterday.

:-)

> The difference is how they call functions in a C library - whether
> they add one underscore or two, and how they treat function names that
> already contain underscores.
> 
> This is all in support of the cfortran.h package, which allows one to
> wrap C library functions in fortran. 
> 
> What I need to do (for the next release of my package) is have some
> tests that detect this stuff.

Much of what you need has already been done before: Autoconf has some
helpful macros, the Autoconf archive has some more, some third party
packages may have even more; MPI implementations like MPICH or OpenMPI
come to mind here as packages that work with a lot of Fortran compilers.

> > AFAIK the gcc-4.x Fortran compiler is named gfortran.
> 
> When I installed gcc 4.0.2 it named it "f95" but I recognize gfortran
> as well.

Guess they changed after 4.0 then.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to