1 |
On Monday, September 20, 2010 15:00:25 Joakim Tjernlund wrote: |
2 |
> I am fiddling with crossdev again and I wonder if there a way to |
3 |
> pass different configure options to gcc/binutils vs. glibc? |
4 |
> Doing export EXTRA_ECONF="--with-cpu=e300c2" applies |
5 |
> to all and glibc bombs with subarch not supported error. |
6 |
|
7 |
you'd have to use per-package env manually: |
8 |
/etc/portage/env/$CATEGORY/$PN |
9 |
|
10 |
but crossdev likes to clobber this file for you. so i guess i should extend |
11 |
crossdev with --env-xxx options so people can add their own. |
12 |
|
13 |
> Second, there are not many PowerPC cpus in the ports section |
14 |
> of glibc and not mine embedded one either. Is there any |
15 |
> alternative ports pkg somewhere that supports more PowerPC |
16 |
> cpus? |
17 |
|
18 |
we take what glibc offers via their glibc-ports package. personally, i do 0 |
19 |
embedded powerpc work, so i dont know of any "alternatives" or such. |
20 |
|
21 |
if they did exist though, the only way currently to get them transparently |
22 |
added would be to make a big patch out of them and then use the user patch |
23 |
interface (put patches into /etc/portage/patches/$CATEGORY/$P/). |
24 |
-mike |