cURL / Mailing Lists / curl-library / Single Mail


Re: Porting libcurl on embedded system with proprietary OS

From: Daniel Stenberg <>
Date: Fri, 25 Jul 2014 16:08:01 +0200 (CEST)

On Fri, 25 Jul 2014, Jon Torrey wrote:

> I have noticed it is very complex. Was very interested if there was any
> sort of simplification of explaining the process. We shall carry on now.

A simple approach can be to just run ./configure once on your linux machine,
then go through lib/curl_config.h manually afterwards and make sure it matches
your target system and rename it to lib/config-integrity.h. Then edit
lib/curl_setup.h to include that file like:

#ifdef __INTEGRITY
#include "config--integrity.h"

... and you either use the makefile configure created for you (which is large
and mostly unpenetrable) and build all C files, or you write a simple makefile
replacement that just builds all C files in the lib/ directory and generate a
lib out of it.

List admin:
Received on 2014-07-25