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 Date: Mon, 11 Jul 2005 09:46:22 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Alexey Lyubimov cc: cygwin AT cygwin DOT com Subject: Re: popt 1.6.4-4: How to use popt in "-mno-cywin" app? In-Reply-To: <20050711124844.41362.qmail@web33202.mail.mud.yahoo.com> Message-ID: References: <20050711124844 DOT 41362 DOT qmail AT web33202 DOT mail DOT mud DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 11 Jul 2005, Alexey Lyubimov wrote: > Hello! > > My configuration is: > > Win98SE. > > $ cygcheck -c | grep -e "binutils" -e "cygwin" -e "popt" > binutils 20041229-1 OK > cygwin 1.5.16-1 OK > cygwin-doc 1.4-2 OK > libpopt0 1.6.4-4 OK > popt 1.6.4-4 OK Not enough. Please review carefully, especially the part in bold that tells you to attach the output of "cygcheck -svr" on your system. > I've looked thru the popt's documentaion (man page and > README) but nevertheless I have the following > questions: > > 1 Is it possible to write "-mno-cygwin" application > using Cygwin's port of popt? 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. > If yes, then How to link it statically and > dynamically? > > 2 What are "libpopt.a" and "libpopt.la" in the > distribution? libpopt.a is a static library. libpopt.la is a libtool auxiliary library. Both of these require the Cygwin DLL to work. > (I think that the third library "libpopt.dll.a" is the > interface to "cygpopt-0.dll. > Am I right?) Yes. > 3 When I try to build sample "parse" application from > the popt man page, I got the following: > > $gcc -o parse parse.c -lpopt > Info: resolving _poptHelpOptions by linking to > __imp__poptHelpOptions (auto-import) > > What does this mean? Am I doing anything wrong? Is > there any other variants? This is an informational message. I think you should be fine, besides the issues above. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/