cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Building Libcurl with DMC

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sun, 15 Feb 2004 23:28:29 +0100 (CET)

On Sun, 15 Feb 2004, qbert_at_atari-soldeirs.com wrote:

> Hey all, trying to build libcurl with the free Digital Mars C/C++ compiler (
> www.digitalmars.com ). It stumbled on the CINIT / CFINIT macros

What's the problem? A C compiler should either support the ## operator or the
/**/ operator. Are you saying the Digital Mars supports none of those?

> so I replaced them with constants and posted at
> www.atari-soldiers.com/libcurlDMC.zip .

Is that really the only way to make it build? It seems like a really annoying
work-around...

> It compiles fine , however when the sample is run it crashes inexplicably.
> I ran it through the debugger seems its crashing on curl_easy_perform .
>
> Here's the Call window,
>
> main
> curl_easy_perform
> Curl_perform
> Curl_connect <-- crashing , calling CreateConnection .

Can you tell us more exact details? On what source line and what arguments the
function got passed in, possibly some contents of local variables.

I can't but to think that your compiler of choice may not be doing things
right...

> make -f Makefile.dmc should be all u need to build. Has anyone compiled
> libcurl with DMC ? Can any libcurl guru's help get libcurl get built with
> DMC ?

I take it that compiler is for Windows?

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-15