Linking a .lib file

Larry Hall (RFK Partners, Inc)
Wed Jun 6 15:01:00 GMT 2001

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?

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

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

Larry Hall                    
RFK Partners, Inc.            
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

Want to unsubscribe from this list?
Check out:

More information about the Cygwin mailing list