cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Building curl, modifying the cc/gcc line in the Makefile

From: Guenter <lists_at_gknw.net>
Date: Tue, 05 Jun 2012 20:45:41 +0200

Hi Robert,
Am 05.06.2012 20:04, schrieb Robert B. Harris:
> I'm trying to use a program that runs during the build of curl. It
> watches each gcc activity during the build process, and does something cool.
> I can normally do this with other software by modifying the gcc/cc line
> in the Makefile.
> In other words, I set "CC=somethingspecial -g one gcc"
> So,I ran curl's "configure" program, then I modified the resulting
> makefile as above. The "somethingspecial" program, which monitors and
> runs gcc, doesn't seem to run.
> What modifications can I make so the build proccess will also run my
> "somethingspecial" program each time the gcc program is called?
I'd recommend that you try:
CC='somethingspecial -g one gcc' ./configure
then configure should modify teh makefiles for you ...
however in this case also all configure tests will be made with this CC ...

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-06-05