cURL / Mailing Lists / curl-users / Single Mail

curl-users

Libcurl for Metrowerks CodeWarrior

From: Eric VERGNAUD <eric.vergnaud_at_jlynx.com>
Date: Sat, 05 Feb 2005 01:25:59 +0100

Hi,

Enclosed you will find an up-to-date version of libcurl for Metrowerks
CodeWarrior.

The xml file is the CodeWarrior project itself.

This project builds a static library that can be included in a typical
CodeWarrior MacOSX graphical application.

The enclosed includes a fix we discussed some time ago regarding strdup.
When linking with CodeWarrior's runtime and the MacOSX System framework, it
appears that strdup is called from the system while free is called through
Metrowerk's runtime, and that the 2 are incompatible.

Since there is no way I can recompile the system, I have enclosed a small
fix which takes advantage of the builtin strdup indirection in libcurl. It's
all in easy.c.

Building libcurl with CodeWarrior makes it possible to trace calls while
debugging, which is not possible using libcurl.a, because CodeWarrior cannot
step into code compiled by GCC.

Enjoy !

-------------------------------
Eric VERGNAUD - JLynx Software
Cutting-edge technologies and
services for software companies
web: http://www.jlynx.com
-------------------------------

Received on 2005-02-05