delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/14/02:47:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Jonathan Wilson <jonwil AT tpgi DOT com DOT 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
X-Trace: main.gmane.org 1018766840 29139 202.7.223.87 (14 Apr 2002 06:47:20 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019