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 fortran/49280] New: Misinterpretation of -static-libgfortran switch


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


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