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: Linking a .lib file


At 05:52 PM 6/6/2001, Robb Merrill wrote:
>Howdy.  I use the cygwin-b20 g++ compiler with Emacs, and I need to link in a .lib file.  When I try doing the compilation\linking command
>
>g++ -g FILE_1.cpp FILE_2.lib -o  -lm
>
>I get an error message stating that .lib extensions are not recognized.  Is there a way to link .lib files, or to convert them to a recognizable form?
>
>Thanks
>
>robbmer@hotmail.com


Hm, I question the correctness of your compile/link line.

Your best bet is to upgrade at www.cygwin.com (after making sure you 
specify the proper parameters in the proper order).



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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