This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


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

Re: can't link fortran executable


David,

"RD" == Robinow, David wrote:

 RD> You are using g77 as a linker.  Are you also using it as a compiler?
 RD> If not, where did your object files come from?  [This looks
 RD> suspiciously like 'f2c' output, which requires -lf2c on the link
 RD> command.]

Every .o was built using g77.  Linking I'm also via g77, as it's shown in
the command line.

Just noticed.  Strange, but if I build using 
        $ g77 -o chngc.exe *.f
everything goes ok.

-- 
Andrey V Khavryuchenko          http://www.kds.com.ua/
Offshore Software Development

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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