cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problems compiling simple.c on AIX with Visual Age compiler (xlc)

From: Joe Halpin <j.p.h_at_comcast.net>
Date: Wed, 18 Feb 2004 10:52:23 -0600

Hicham Bahi wrote:

> Any ideas? Do I need to recompile libcurl with xlc. I
> tried but it seems like the build procedure is
> designed to work only with gcc.

I think all you need to do is define the envronmental variable CC to be
xlc. I can build curl on Solaris by pointing CC at the Sun Workshop
compiler (which all our other stuff uses).

Try something like

$ CC=xlc ./configure
$ make

Joe
Received on 2004-02-18