bug-libtool
[Top][All Lists]
Advanced

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

Re: generating shared libraries with any non-gcc fortran compiler??


From: Juergen Reuter
Subject: Re: generating shared libraries with any non-gcc fortran compiler??
Date: Thu, 24 Feb 2011 16:54:40 +0100
User-agent: KMail/1.9.4

On Thursday 24 February 2011 16:19, Peter O'Gorman wrote:
> On 02/24/2011 04:40 AM, Jürgen Reuter wrote:
> > Dear libtool team,
> > this is not a bug report, but a question: has anybody managed to generate
> > shared libraries on a MAC OS X with a Fortran 95/03 compiler other than
> > gfortran? If so, how? For the two test cases of NAG (nagfor) and PGI
> > (pgf95) I always get the report from the AC_PROG_FC macro that checking
> > whether the nagfor linker (/usr/bin/ld) supports shared libraries... no
> > or
> > checking whether the nagfor linker (nagfor) supports shared libraries...
> > no Any ideas? Did anybody encounter that problem yet?
> > Any help would be greatly appreciated!
> > Cheers,
> >     Juergen Reuter
>
> No support for these compilers has been added to libtool yet for Mac OS X.
>

Yes, I know, in fact, the linker flags for Linux OS where provided to you
by my collaborator Wolfgang Kilian and myself.

> nagfor looks like it needs -PIC to produce position independent code,
> and uses gcc for linking?
>

It uses ld, but via gcc, that is the reason, why the linking flag for the 
Linux OS is doubled, -Wl, -Wl.
I tried whether the same flags work for the MAC OS X, but maybe I did it at 
the wrong place. 

> I'll look at the PGI documentation too.
>

Cool.

> If I come up with patches, will you be able to test for me?

Sure, I can.
Thanks a lot in advance!
Cheers,
        JRR

>
> Thanks,
> Peter

-- 
-------------------------------------
Juergen Reuter  
*****
DESY Theory Group
Notkestrasse 85
D-22603 Hamburg
Phone: +49 (0)40 8998-3895
Fax  : +49 (0)40 8998-2777
*****
Albert-Ludwigs-Universitaet Freiburg
Physikalisches Institut
Hermann-Herder-Str. 3
D-79106 Freiburg
*****
Skype: jr_reuter
-------------------------------------
 



reply via email to

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