<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>Hello
there,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=301263912-18122006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>In our company we
use CentOS on our build machines which mostly build software related to
X11.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>For some reasons the
path /usr/X11R6/include is not known during building unless i
specify</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>-I/usr/X11R6/include
path to g++ options. I wonder if there isn't any environmen variable
that</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>I could set so that
I don't have to specify it in each makefile. I don't have this problem
using</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>different distros
(e.g. ArchLinux, Fedora) so I suppose that this path is compiled into g++
directly.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>If there isn't such
a variable that I could set, then I wonder if the best I can do is to
create</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>different makefile
that set's this variable and which will be included in all the other
makefiles.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=301263912-18122006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>Also some compilers
complain with a message like this:</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=301263912-18122006>Line 1254 : cc1plus: warning: include
location "/usr/X11R6/include" is unsafe for
cross-compilation</SPAN></FONT></DIV>
<DIV><FONT><SPAN class=301263912-18122006>when this path is specified with the
'-I' option.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006></SPAN></FONT><FONT
face=Arial size=2><SPAN class=301263912-18122006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>Thanks in advance
for any answer.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=301263912-18122006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=301263912-18122006>Peter
Jankuliak</SPAN></FONT></DIV><br><br><table bgcolor=white style="color:black"><tr><td><br>-<br>
This message is subject to Imagination Technologies' e-mail terms: http://www.imgtec.com/e-mail.htm<br>
-</td></tr></table></BODY></HTML>