libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fortran support in multi-language branch?


From: Gary V . Vaughan
Subject: Re: Fortran support in multi-language branch?
Date: Sat, 16 Jun 2001 15:24:24 +0100

On Friday 15 June 2001  6:00 pm, Robert Boehne wrote:
> Erik Lindahl wrote:
> > Hi people,
> >
> > We are libtoolizing our fairly large scientific software package.
> >
> > Since fortran is still significantly faster than c on most architectures
> > we use f77 for the innerloops and link it with c and assembly routines.
> >
> > Now, both C and assembly seem to be handled nicely by the multi-language
> > brach, but for fortran I guess I'll have to hack a ltcf-f77.sh.
> >
> > Of course I'll try to do that, but if anyone else has already tried
> > it I'd be happy if you have some tips or tricks to share...
> >
> > Regards,
> >
> > Erik
>
> Erik:
>
> I've often wondered why no one had stepped up to do this before, but
> I'm gld to see you've volunteered.  :)  I'd be glad to help out, and
> I think there may be a few other things required such as an
> AC_LIBTOOL_F77 macro.  My advice for getting started would be to
> copy ltcf-c.sh and use that as a starting point.  One thing I'd
> like to see in Libtool is support for multiple-language libraries
> where f90 C and C++ sources can be used together in a single shared
> library.

You might want to wait until MLB has merged into HEAD.  At that point the 
ltcf-*.sh scripts will have migrated into libtool.m4, and can be written with 
the aid of autoconf's shell macros.

Cheers,
        Gary.
-- 
  ())_.  Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/   Research Scientist  http://www.oranda.demon.co.uk        ,_())____
  / )=   GNU Hacker          http://www.gnu.org/software/libtool   \'      `&
`(_~)_   Tech' Author        http://sources.redhat.com/autobook    =`---d__/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]