Gentoo Archives: gentoo-alt

From: Al <oss.elmar@××××××××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Where to set includes?
Date: Sat, 18 Sep 2010 12:31:35
Message-Id: AANLkTin1dcCUOPy74+HKYkxU4xHXG4tJVWpVE0oya-XO@mail.gmail.com
1 I know this question sounds a little stupid if you are experienced
2 with Gentoo. I wouldn't ask it in this list but it has a relation to
3 bootstrap-prefix.sh. Also it is prefix specific to distinguish them
4 form the system header files.
5
6 bootstrap-prefix.sh generates me the following line into /make.defaults:
7
8 CPPFLAGS="-I/home/prefix/gentoo/usr/include"
9
10 Now while bootstrapping header files go also into many other directories:
11
12 $EPREFIX/usr/include/readline/
13 $EPREFIX/usr/include/python2.6/
14 $EPREFIX/usr/lib/binutils/i686-pc-cygwin1.7/2.20.51.0.8/include/
15 $EPREFIX/usr/lib/perl5/5.10.1/i686-linux/CORE/
16 $EPREFIX/....
17
18 bootstrap-solaris.xml doesn't suggest to add those directories to CPPFLAGS.
19
20 Do I have to add them there?
21 Do I add them on per package basis to ebuilds?
22 Are they found without?
23
24 Bootstrapping works, but I am unsure if it is not using the systems
25 header files instead.
26
27 Al

Replies

Subject Author
Re: [gentoo-alt] Where to set includes? Fabian Groffen <grobian@g.o>