On 18-09-2010 14:31:15 +0200, Al wrote:
> Now while bootstrapping header files go also into many other directories:
>
> $EPREFIX/usr/include/readline/
> $EPREFIX/usr/include/python2.6/
> $EPREFIX/usr/lib/binutils/i686-pc-cygwin1.7/2.20.51.0.8/include/
> $EPREFIX/usr/lib/perl5/5.10.1/i686-linux/CORE/
> $EPREFIX/....
>
> bootstrap-solaris.xml doesn't suggest to add those directories to CPPFLAGS.
correct
> Do I have to add them there?
no
> Do I add them on per package basis to ebuilds?
no, packages do so themselves if they require that
> Are they found without?
yeah, because most of the time you do:
#include <readline/readline.h>
and if you want some version of python includes, the package will add
-I$EPREFIX/usr/include/python2.6 itself such that
#include <Python.h>
works automagically.
> Bootstrapping works, but I am unsure if it is not using the systems
> header files instead.
if it does you'll notice sooner or later when you start to see weird
errors about missing symbols or undefined stuff.
--
Fabian Groffen
Gentoo on a different level
09-18-2010, 02:45 PM
Al
Where to set includes?
Thank you very much Fabian. That answerd all to this.
Al
09-25-2010, 10:23 PM
Al
Where to set includes?
2010/9/18 Fabian Groffen <grobian@gentoo.org>:
> On 18-09-2010 14:31:15 +0200, Al wrote:
>> Now while bootstrapping header files go also into many other directories:
>>
>> $EPREFIX/usr/include/readline/
>> $EPREFIX/usr/include/python2.6/
>> $EPREFIX/usr/lib/binutils/i686-pc-cygwin1.7/2.20.51.0.8/include/
>> $EPREFIX/usr/lib/perl5/5.10.1/i686-linux/CORE/
>> $EPREFIX/....
>>
>> bootstrap-solaris.xml doesn't suggest to add those directories to CPPFLAGS.
>
> correct