LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Glen Turner <glen.turner@aarnet.edu.au>
  To  : Nour Douchi <nourdouchi@hotmail.com>
  Date: Mon, 29 Nov 1999 00:23:55 +1030 (CST)

Re: adding another include directory

On Sun, 28 Nov 1999, Nour Douchi wrote:

> How would you tell your system to add another include directory ...

Use the -I parameter to the C compiler:

  cc -I /usr/local/include/mysql -o fred fred.c

If you are compiling a lot of programs, set CFLAGS in a Makefile.

Regards,
glen

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page