public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Tianhong Chen <tianhonc@yahoo.com>
To: cygwin@cygwin.com
Subject: How to link against .lib files
Date: Thu, 22 Nov 2001 07:27:00 -0000	[thread overview]
Message-ID: <20011122152725.25732.qmail@web13403.mail.yahoo.com> (raw)
Message-ID: <20011122072700.0UzwU_Mp52ULyc2ul4oYsJwd4at5EnzQVUGfl600vcQ@z> (raw)

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/

             reply	other threads:[~2001-11-22  7:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-15  1:05 Tianhong Chen [this message]
2001-11-15 21:27 ` Larry Hall (RFK Partners, Inc)
2001-11-26  9:32   ` Larry Hall (RFK Partners, Inc)
2001-11-22  7:27 ` Tianhong Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011122152725.25732.qmail@web13403.mail.yahoo.com \
    --to=tianhonc@yahoo.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).