1 |
On Fri, 6 Feb 2004 19:40:51 -0500 |
2 |
Aron Griffis <agriffis@g.o> wrote: |
3 |
|
4 |
> Marc Giger wrote: [Fri Feb 06 2004, 02:14:11PM EST] |
5 |
> > Yeah, it looks like:-) but I was wrong... I removed this check and |
6 |
> > ran into troubles. The Macro __GLIBC_HAVE_LONG_LONG must not be |
7 |
> > defined with ccc. So this check is totally ok! It has nothing to do |
8 |
> > with"long long". Sorry... I was searching for the reason why I |
9 |
> > couldn't compile python with ccc. |
10 |
> > After some time I found it! The attached patch solves the problem. |
11 |
> > Now I'm running python 2.3 compiled with ccc:-) |
12 |
> |
13 |
> Oh good! |
14 |
> |
15 |
> > > > printf '%s %s %s\n' \ |
16 |
> > > > "-L${gcc_libs_path}" \ |
17 |
> > > > " -SysIncDir |
18 |
> > > > /usr/lib/compaq/ccc-${ccc_release}/alpha-linux/include" \ |
19 |
> > > > |
20 |
> > > > |
21 |
> > > > " -SysIncDir /usr/include/linux" \ > |
22 |
> > > > usr/lib/compaq/ccc-${ccc_release}/alpha-linux/bin/comp.config |
23 |
> > > |
24 |
> > > So do you know how this should be changed exactly? |
25 |
> > |
26 |
> > Hehe, no! |
27 |
> > This seems not to be the right place neither. I think this is |
28 |
> > useless anyway. The right place to fix it is in |
29 |
> > "create-comp-config.sh". I tried to change it but it seems that a |
30 |
> > shell-script and regex guru is needed;-) The same should be changed |
31 |
> > by cxx (preventing). |
32 |
> > |
33 |
> > With these two fixes, I'm able to compile a lot more packages with |
34 |
> > the compaq compiler. |
35 |
> |
36 |
> I'll take a look at create-comp-config.sh |
37 |
|
38 |
It seems there has nothing changed. ccc-6.5.9.001-r1.ebuild gives me the |
39 |
same result. Do I something wrong? |
40 |
|
41 |
To illustrate the resulting comp.config should look as follows: |
42 |
|
43 |
-SD/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/include -SD/usr/include |
44 |
-SD/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/include | -SysIncDir |
45 |
/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/include -SysIncDir |
46 |
/usr/include -SysIncDir |
47 |
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/include |
48 |
-L/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/lib |
49 |
-L/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2 |
50 |
-L/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unkn |
51 |
own-linux-gnu/lib |
52 |
-L/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../.. |
53 |
|
54 |
The paths must be in the following order (for -SD and -SysIncDir): |
55 |
|
56 |
1. ccc paths |
57 |
2. /usr/include |
58 |
3. gcc paths |
59 |
|
60 |
> |
61 |
> > Oh, while we are at it. What do you think if we move the libots libs |
62 |
> > to/lib instead of /usr/lib ? |
63 |
> |
64 |
> Sounds good to me. Done. Try out 2.2.7-r1. If it works for you then |
65 |
> I'll mark it stable. |
66 |
|
67 |
This one is fine now. Thank you! |
68 |
|
69 |
greets |
70 |
|
71 |
Marc |
72 |
|
73 |
-- |
74 |
gentoo-alpha@g.o mailing list |