------- Comment #4 from arjen dot markus at wldelft dot nl  2006-05-29 06:54 
-------
Subject: Re:  Linking example programs for PLplot causes
 error messages about multiple definition of __gfortran_transfer_character

pault at gcc dot gnu dot org wrote:

>------- Comment #3 from pault at gcc dot gnu dot org  2006-05-28 12:11 -------
>Arjen,
>
>  
>
>>I tried this with gfortran 4.20 too (the report file was indeed
>>created with 4.1, but the result with the newer version was quite the
>>same). It happens when I build version 5.6.1 of PLplot (http://plplot.sf.net)
>>using shared libraries. It does not when I disable the shared libraries
>>option.
>>    
>>
>
>If you go well back into last year on the gfortran list, you will find some
>corespondence on shared libraries and Cygwin.  I do not recall the exact
>details but there was something very iffy about the mixture of fortran IO,
>shared libraries and Cygwin.  I think that you might have to stick with a
>static build.
>  
>
Thanks for this explanation. It is a pity, because we dearly want the 
shared library option
to work. (We had quite some problems getting it to work on Cygwin at all 
with GCC,
but it turned out that libtool could not identify whether shared 
libraries worked or
not because of a missing "file" command. At least that seemed to be the 
main cause.)

Anyway, the message is clear - we will refrain from shared libraries for 
Fortran 95
at the moment.

Regards,

Arjen


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27703

Reply via email to