]> granicus.if.org Git - curl/commitdiff
FAQ: How do I port libcurl to my OS?
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 May 2015 17:13:09 +0000 (19:13 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 26 May 2015 17:13:40 +0000 (19:13 +0200)
docs/FAQ

index a2443efbdd8b6cf8671c2719a90ff4ffda43f9c5..32e15302bf5112410edd1bdb73a4a777ed53ba57 100644 (file)
--- 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