delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | RE: Help to link a prog static with libcurl, libssl and libcrypto. |
Date: | Mon, 4 Mar 2002 10:49:01 -0500 |
Message-ID: | <6EB31774D39507408D04392F40A10B2BC1FF6F@FDYEXC202.mgroupnet.com> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
Thread-Topic: | Help to link a prog static with libcurl, libssl and libcrypto. |
Thread-Index: | AcHDlBBm7l9DBuTlRBqiLCX3HXeP+g== |
From: | "Roth, Kevin P." <KPRoth AT MarathonOil DOT com> |
To: | "Cygwin List" <cygwin AT cygwin DOT com> |
Cc: | "Alexander Lazic" <al-cygwin AT none DOT at> |
X-OriginalArrivalTime: | 04 Mar 2002 15:49:03.0449 (UTC) FILETIME=[1BF1C490:01C1C394] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g24FoSR20092 |
> -----Original Message----- > From: Larry Hall (RFK Partners, Inc) [mailto:lhall AT rfk DOT com] > Sent: Tuesday, February 26, 2002 7:33 PM > > The CURL you're linking against is apparently expecting at > least some POSIX APIs. You won't be able to get this to link > without some porting. Perhaps CURL builds as a WIN32 version Yes, CURL builds as pure win32, using (surprise) mingw. I don't know any details on setting this up, but you can probably find some info at http://curl.haxx.se/, or try the curl mailing list (curl AT haxx DOT se). The porting to remove reliance on POSIX APIs has (to my knowledge) already been done; however, since Cygwin supports POSIX, and since the win32 version of curl.exe doesn't really care for posix path spec (e.g. have to translate /usr/... to/from C:\cygwin\usr\... style when using win32 version of curl), the cygwin version of curl (including all libraries) expects to find cygwin1.dll... > too in which case you may be able to switch over to that without > too much pain. Alternatively, you can try building this without > the '-mno-cygwin' flag, although you'll link in cygwin1.dll for > sure then. Correct. This works fine for me. Statically or dynamically. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |