Date: Wed, 04 Aug 2004 12:21:27 -0500 From: Jason Dusek <jason-dusek@uiowa.edu> To: questions@freebsd.org Subject: C include question Message-ID: <41111B17.2080200@uiowa.edu>
next in thread | raw e-mail | index | archive | help
Hi, I would like to compile some OpenGL stuff on my BSD box. Unfortunately, the GL libraries are not in /usr/include/GL - they are in /usr/X11R6/include/GL and my C compiler does not see that by default. One easy way around this is, I think, to just soft link /usr/X11R6/include/* to /usr/include/ - but that would defeat the point of seperating the X11 includes from the system includes. What is the right way to set this up so that my C compiler, no matter which one it is, will always find the GL libraries? Is there some kind of 'cc.conf' somewhere in the same sense as there is a 'make.conf'? I am new to C - in fact this OpenGL stuff is my first exposure to it. I'm sure that this is an elementary question, and the only reason that I post it to the list is that I am trying to find a way to solve my problem that is more in keeping with BSD philosophy than simply moving /usr/X11R6/include into /usr/include. _jason
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41111B17.2080200>