W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

Re: Help me to compile my own program.

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Thu, 19 Nov 1998 09:42:33 -0500
To: www-lib@w3.org
Message-ID: <36542E59.324DA3D7@w3.org>
To: Krishna Vedati <krishnav@valicert.com>

Krishna Vedati wrote:
> Jin Xinliang (on Tue, Nov 17/1998) writes:
>   :Hi, all:
>   :
>   :Though i often write program in C and compile them with gcc, i am
>   :not familar with the Makefile and configure script. Today, i got a
>   :w3c-libwww and try to write a program and then compiled it. I used
>   :the option -I and -L as below:
>   :
>   :$ gcc -I/usr/local/include/w3c-libwww -L/usr/local/lib -lwww myprogram.c
>   :
> !>From the above command line you are assuming:
>         w3lib is installed in  /usr/local/lib
>                         and
>         include files are in  /usr/local/include/w3c-libwww
>         and asking gcc to generate a default executable a.out
> please check all of the above , if you still can't succeed post the errors gcc has
> generated and the exact command line.

One other thing you can do is to look at how the sample programs are
compiled - they all use libwww as well.

Soren is proposing a simpler script based solution to be implemented
instead which sounds like a good idea.

Received on Thursday, 19 November 1998 09:42:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:48 UTC