This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Linking C and Fortran code: problems with Compaq compilers
- To: "Steven G. Johnson" <stevenj at alum dot mit dot edu>
- Subject: Re: Linking C and Fortran code: problems with Compaq compilers
- From: Tom Tromey <tromey at redhat dot com>
- Date: 18 Aug 2001 16:17:15 -0600
- Cc: automake at gnu dot org, autoconf at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <Pine.LNX.4.21.0108172146180.24209-100000@ab-initio.mit.edu>
- Reply-To: tromey at redhat dot com
>>>>> "Steven" == Steven G Johnson <stevenj@ab-initio.mit.edu> writes:
Steven> When linking a program that contains both C and Fortran source
Steven> files, automake uses the Fortran linker. This causes some
Steven> difficulty with the Compaq compilers ('fort' and 'ccc') for
Steven> Alpha (Linux).
Steven> What is the right thing to do?
Of course I'd prefer the code in automake to remain simple :-).
I think if Fortran compilers differ, then we must test to see what the
actual Fortran compiler in use does. This means autoconf must decide.
Tom