1 |
On 18-09-2010 14:31:15 +0200, Al wrote: |
2 |
> Now while bootstrapping header files go also into many other directories: |
3 |
> |
4 |
> $EPREFIX/usr/include/readline/ |
5 |
> $EPREFIX/usr/include/python2.6/ |
6 |
> $EPREFIX/usr/lib/binutils/i686-pc-cygwin1.7/2.20.51.0.8/include/ |
7 |
> $EPREFIX/usr/lib/perl5/5.10.1/i686-linux/CORE/ |
8 |
> $EPREFIX/.... |
9 |
> |
10 |
> bootstrap-solaris.xml doesn't suggest to add those directories to CPPFLAGS. |
11 |
|
12 |
correct |
13 |
|
14 |
> Do I have to add them there? |
15 |
|
16 |
no |
17 |
|
18 |
> Do I add them on per package basis to ebuilds? |
19 |
|
20 |
no, packages do so themselves if they require that |
21 |
|
22 |
> Are they found without? |
23 |
|
24 |
yeah, because most of the time you do: |
25 |
#include <readline/readline.h> |
26 |
and if you want some version of python includes, the package will add |
27 |
-I$EPREFIX/usr/include/python2.6 itself such that |
28 |
#include <Python.h> |
29 |
works automagically. |
30 |
|
31 |
> Bootstrapping works, but I am unsure if it is not using the systems |
32 |
> header files instead. |
33 |
|
34 |
if it does you'll notice sooner or later when you start to see weird |
35 |
errors about missing symbols or undefined stuff. |
36 |
|
37 |
|
38 |
-- |
39 |
Fabian Groffen |
40 |
Gentoo on a different level |