From: Daniel Stenberg Date: Tue, 26 May 2015 17:13:09 +0000 (+0200) Subject: FAQ: How do I port libcurl to my OS? X-Git-Tag: curl-7_43_0~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f81d356c2161ca394312760c03246889e6b30611;p=curl FAQ: How do I port libcurl to my OS? --- diff --git a/docs/FAQ b/docs/FAQ index a2443efbd..32e15302b 100644 --- a/docs/FAQ +++ b/docs/FAQ @@ -21,6 +21,7 @@ FAQ 1.12 I have a problem who can I chat with? 1.13 curl's ECCN number? 1.14 How do I submit my patch? + 1.15 How do I port libcurl to my OS? 2. Install Related Problems 2.1 configure doesn't find OpenSSL even when it is installed @@ -380,6 +381,19 @@ FAQ Lots of more details are found in the CONTRIBUTE and INTERNALS docs. + 1.15 How do I port libcurl to my OS? + + Here's a rough step-by-step: + + 1. copy a suitable lib/config-*.h file as a start to lib/config-[youros].h + + 2. edit lib/config-[youros].h to match your OS and setup + + 3. edit lib/curl_setup.h to include config-[youros].h when your OS is + detected by the preprocessor, in the style others already exist + + 4. compile lib/*.c and make them into a library + 2. Install Related Problems