Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Jonathan Wilson <jonwil@tpgi.com.au>
Newsgroups: gmane.os.cygwin
Subject: problems linking to mingw libraries
Date: Sun, 14 Apr 2002 14:48:00 +0800
Lines: 10
Message-ID: <3CB92620.3040303@tpgi.com.au>
NNTP-Posting-Host: per3-56k-087.tpgi.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1018766840 29139 202.7.223.87 (14 Apr 2002 06:47:20 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Sun, 14 Apr 2002 06:47:20 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9) Gecko/20020311
X-Accept-Language: en-us, en

I am using version 1.3.10-1 of the cygwin dll
version 20011002-1 of binutils
version 2.95-3.5 of gcc (and building with -mno-cygwin)
and version 1.3-2 of mingw-runtime
I add -lmsvcrt to the LD command line and it cant find it.
Is there a way to tell LD to look in the mingw32 library path that 
doesnt require hardcoding the path into the makefile?
Also, what mingw32 libraries should I be linking into?
I am using -dll with LD if that makes any difference.




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

