This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/24576] Fortran I/O to same unit number in main program and in a shared library



------- Comment #10 from pinskia at gcc dot gnu dot org  2005-10-29 14:09 -------
Can you try the following "work around":
gfortran -fPIC -shared -Wl,-Bsymbolic -o libtest.so test.f \
-Wl,--whole-archive /usr/lib64/libgfortran.a -Wl,--no-whole-archive


This should work and if it does, then the orginal problem is really just
another manfacturing of PR 22298.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]