This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49280] New: Misinterpretation of -static-libgfortran switch
- From: "hroch at physics dot muni.cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 3 Jun 2011 22:21:27 +0000
- Subject: [Bug fortran/49280] New: Misinterpretation of -static-libgfortran switch
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49280
Summary: Misinterpretation of -static-libgfortran switch
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hroch@physics.muni.cz
Dear collegues,
I'm just informing, that linking of a trivial source
with switch -static-libgfortran returns results which
looks to be misinterpreted:
$ gfortran -static-libgfortran zk.f95
/usr/bin/ld: cannot find -lgfortran
collect2: ld returned 1 exit status
(The same for g++ and -static-libstdc++.)
Note, the switch works cleanly under the
older gfortran 4.4.5 (Debian Squeeze).
FH