1 |
Mike Frysinger <vapier@g.o> wrote on 2010/09/28 10:16:58: |
2 |
> |
3 |
> On Tuesday, September 28, 2010 02:55:13 Joakim Tjernlund wrote: |
4 |
> > Mike Frysinger <vapier@g.o> wrote on 2010/09/28 04:33:38: |
5 |
> > > On Monday, September 27, 2010 10:55:32 Joakim Tjernlund wrote: |
6 |
> > > > Mike Frysinger wrote on 2010/09/25 08:07:15: |
7 |
> > > > > On Friday, September 24, 2010 12:22:19 Joakim Tjernlund wrote: |
8 |
> > > > > > This is what I came up with to make glibc support |
9 |
> > > > > > --with-cpu=e300c2 |
10 |
> > > > > |
11 |
> > > > > mail it to libc-ports ? |
12 |
> > > > |
13 |
> > > > Upstream doesn't want it as it only adds --with-cpu= syntax |
14 |
> > > > and don't change anything else. |
15 |
> > > > That implies crossdev needs to grow support different configure options |
16 |
> > > > for glibc/gcc/binutils etc. |
17 |
> > > > I guess that is the normal way non gentoo devs builds toolchains? |
18 |
> > > |
19 |
> > > portage already has per-package env support |
20 |
> > |
21 |
> > But you said earlier: |
22 |
> > you'd have to use per-package env manually: |
23 |
> > /etc/portage/env/$CATEGORY/$PN |
24 |
> > |
25 |
> > but crossdev likes to clobber this file for you. so i guess i should |
26 |
> > extend crossdev with --env-xxx options so people can add their own. |
27 |
> > |
28 |
> > So currently there is no way to pass in different configure options? |
29 |
> > |
30 |
> > I would be happy some extra env var like |
31 |
> > CROSS_CC_CONF |
32 |
> > CROSS_LIBC_CONF |
33 |
> > that would be appended to EXTRA_ECONF |
34 |
> > |
35 |
> > configure options that gets passed directly to crossdev |
36 |
> > works too. |
37 |
> |
38 |
> yes, per-package env vars arent working optimal today, but my point is that |
39 |
> that is the only thing i'm going to support. it isnt worth the hassle of |
40 |
> designing custom variables & options which ultimately boil down to |
41 |
> EXTRA_ECONF. we have EXTRA_ECONF already which means it is left up to the |
42 |
> user to set them accordingly. |
43 |
|
44 |
Yes, it is a pity EXTRA_ECONF doesn't work here. |
45 |
|
46 |
BTW, is there a way to tell crossdev/gcc not to build/install powerpc64-* |
47 |
tools? I have no need for them and they just get in my way. |
48 |
|
49 |
Jocke. |
50 |
|
51 |
Jocke |