delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/11/08:49:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <20050711124844.41362.qmail@web33202.mail.mud.yahoo.com>
Date: Mon, 11 Jul 2005 05:48:44 -0700 (PDT)
From: Alexey Lyubimov <alexeipobox AT yahoo DOT com>
Subject: popt 1.6.4-4: How to use popt in "-mno-cywin" app?
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

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

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?
If yes, then How to link it statically and
dynamically?

2 What are "libpopt.a" and "libpopt.la" in the
distribution?
(I think that the third library "libpopt.dll.a" is the
interface to "cygpopt-0.dll.
Am I right?)

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?

Thank you.
---
Best regards.
Alexey Lyubimov

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

- Raw text -


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