[gobolinux-users] Bug in Rootless Gobo cripples Compile?

mpb.mail at gmail.com mpb.mail at gmail.com
Wed Feb 21 22:58:18 UTC 2007


Hi,

I'm a new Gobo user.  I been have trying to "Compile binutils" inside
of a Rootless Gobo environment.  I kept on getting the same strange
error.  I also got different (but similarly strange) errors
Compile-ing other recipes.

I think I've located the source of the problem.  I use bash.  Rootless
(via .bash_profile) seems to set the following environment variables:

CPLUS_INCLUDE_PATH=/home/zu20070220/System/Links/Headers:
C_INCLUDE_PATH=/home/zu20070220/System/Links/Headers:

Is there some good reason for the colon on the end of those
environment variables?

If there is no good reason, could someone please fix Rootless to
remove the colon, as it causes the most vile and insidious build time
errors I have ever encountered.  I kept on assuming that the errors
were caused by the old versions of gcc and binutils that I was using
for bootstrapping.  But eventually I eliminated that possibility.

The tailing ':' is so nasty because it is equivalent to ':.'
This causes gcc to consider '.' to be a 'system include directory'.
This causes gcc to ignore '-I.'
This causes gcc to include directories in the wrong order.
This causes gcc to find the wrong 'config.h' files.
This causes many kinds of indecipherable madness.

Thanks!

-mpb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gobolinux.org/pipermail/gobolinux-users/attachments/20070221/e62d1d95/attachment.htm 


More information about the gobolinux-users mailing list