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]
Other format: [Raw text]

How to link against .lib files


Hi, all,

I have a question about how to link against .lib files
using cygwin tools.  I read the relevant section in 
the FAQ and also searched the mailing list archive, 
but didn't get the answer.

In the FAQ,  it mentioned the linker: LINK.EXE, what
if
I have only LD from GNU binutiles package?

Could the instructions be more elaborated.  The
following is what I couldn't understand:
1) Build a C file == Edit a C file?
2) Build a Dummy LibMain: what should be in LibMain
3) What is a .def file?
4) Is it possible to use "LD" instead of "LINKER.EXE"

It'll be really appreciated for any answers or points 
of references to this question.

Best Regards,

Tianhong


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

--
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]