This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

popt 1.6.4-4: How to use popt in "-mno-cywin" app?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]