Re: XForms: Setting the include directories, and other minutae

From: Bill Unruh (unruh@physics.ubc.ca)
Date: Sat Apr 06 2002 - 12:44:47 EST


# To subscribers of the xforms list from Bill Unruh <unruh@physics.ubc.ca> :

On Sat, 6 Apr 2002, Reed Riddle wrote:

> # To subscribers of the xforms list from "Reed Riddle" <drriddle@qwest.net> :
>
>
> Howdy all,
>
> This should be a simple thing, but it's something I have never
> learned.... How do you tell the compiler to include directories in
> its compilation? I'm compiling on OS X, and have the X11 layer
> installed. When I try to compile my own software, the compiler
> complains that it can't find all the X11 include files. They are in
> /usr/X11R6/include, but I don't know how to tell my system to look

man gcc
-I/usr/X11R6/include

For libraries
-L/usr/X11R6/lib

> there to find the header files. If anyone can tell me how to set the
> compiler to find certain directories, I would appreciate it!

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:19 EDT