cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Porting libcurl on embedded system with proprietary OS

From: Jon Torrey <ntox101_at_gmail.com>
Date: Fri, 25 Jul 2014 10:54:15 -0400

>
> 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:

Good idea. I am in the process of doing that now and will get back with
you if it fails/succeeds.

Thanks,
JT

On Fri, Jul 25, 2014 at 10:08 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> 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"
> #endif
>
> ... 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.
>
> --
>
> / daniel.haxx.se
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-25