X-Spam-Check-By: sourceware.org Date: Tue, 28 Nov 2006 11:28:18 +1300 From: Danny Smith Subject: [OT] RE: mno-cygwin dll woes In-reply-to: <20061127202008.37667.qmail@web56211.mail.re3.yahoo.com> To: hugoduncan AT users DOT sourceforge DOT net, cygwin AT cygwin DOT com Message-id: <000301c71273$57cbedf0$076d65da@anykey> MIME-version: 1.0 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > > Looking at the specs file, -mno-cygwin always links with > -lmsvcrt, so > short of editting the specs file, how is it possible to link > only with > msvcr80? > If you had posted this to the mingw list someone might have suggested: cp -f /lib/mingw/libmsvcr80.a /tmp/libmsvcrt.a gcc -mno-cygwin -L/tmp foo.c However, any required dll's that also depended on msvcrt.dll would still bring in the system lib. Danny -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/