Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Dave Korn" To: Subject: RE: popt 1.6.4-4: How to use popt in "-mno-cywin" app? Date: Mon, 11 Jul 2005 18:48:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <20050711174017.33240.qmail@web33203.mail.mud.yahoo.com> Message-ID: ----Original Message---- >From: Alexey Lyubimov >Sent: 11 July 2005 18:40 >> Why would you expect to be able to use a Cygwin >> library with a >> configuration that says "no cygwin"? Most Cygwin >> libraries >> require the Cygwin DLL to work. >> ... > > I used to build small win32/console ("no-cygwin") > utilities by gcc under CygWin from scratch. You're mixing up two things here. You can build win32/console apps either with cygwin *or* without. > And, actually, the question was: "Can I use Red Hat's > popt library while building win32 console application > under CygWin"? Nope, you didn't ask about Red Hat's popt library, you asked specifically about the cygwin version: ----Original Message---- >From: Alexey Lyubimov >Sent: 11 July 2005 13:49 > 1 Is it possible to write "-mno-cygwin" application > using Cygwin's port of popt? Now, "port" means the specialised version of a program/library for a particular target; the Cygwin port of popt works only for cygwin, the Linux port works only on Linux, .... etc. If you want one to work with -mno-cygwin, you'll need either a MinGW port of libpopt, or a native win32 version. Or you may be able to just work by including the libpopt source code straight into your app. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/