[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Combining GNU C++ and Intel Fortran
From: |
Arjen Markus |
Subject: |
Re: Combining GNU C++ and Intel Fortran |
Date: |
Fri, 24 Jun 2005 08:30:51 +0200 |
Noah Misch wrote:
>
> On Wed, Jun 22, 2005 at 08:29:19AM +0200, Arjen Markus wrote:
> > Noah Misch wrote:
> > > Yes; redefine FCLIBS.
> >
> > Hm, when I wrote the original email, I realised this was a possible
> > solution.
> > What I am uncertain about is whether redefining such a macro will be
> > respected,
> > that is: does it matter at what point in the .ac file we redefine it?
>
> I suggest defining it before you call any Fortran-related macros.
> Nonetheless,
> the choice of position does not matter to the macros currently in Autoconf.
>
Interesting. Is there documentation about the cooperation and possible
conflicts
between the predefined macros?
(I am just learning how to deal with autoconf - the more I learn about
it, the
more I begin to appreciate it.)
> _AC_FC_LIBRARY_LDFLAGS in lib/autoconf/fortran.m4 is the macro that deals with
> FCLIBS.
Okay, thank you for this information. I looked at this file (for
autoconf 2.59)
and saw that the Intel fortran compiler is called "ifc". The official
name
for it nowadays is "ifort".
Regards,
Arjen