1 |
Diego 'Flameeyes' Pettenò wrote: |
2 |
>> * a large part of the justification is based upon a misunderstanding of |
3 |
>> how cross compilation should be done. The correct way around this |
4 |
>> problem was already posted to the thread by solar. |
5 |
> No I'm not misunderstand how cross compilation should be done with a package |
6 |
> manager. I'm saying that this will anyway give a hand to that. What I was |
7 |
> referring to mostly comes down to the fact that, if I want to build a bin |
8 |
> package for amd64 nocona arch, right now I am not guaranteed that setting |
9 |
> CFLAGS to -march=nocona will produce the right result. |
10 |
|
11 |
Using a proper profile and not hardwire useflags to use amd64 is a |
12 |
solution too. |
13 |
|
14 |
> No it is not. Want to get the news? People at binutils were discussing about |
15 |
> adding -march support to gas, so that it would refuse to build asm sources |
16 |
> that contains instructions not supported by the -march value passed. |
17 |
|
18 |
That works this way already on ppc but... |
19 |
|
20 |
> So using -march=i586 with mmx useflag wouldn't work anymore. |
21 |
|
22 |
...I don't see why not since gas is supposed to accepth -m* flags |
23 |
related (see man as) |
24 |
|
25 |
> |
26 |
> For what concerns me, I brought the idea, I find the single regression |
27 |
> acceptable, I find it a proper usage of $CFLAGS variable, I find the |
28 |
> internals guaranteed enough to work. My work is done here, I leave to anybody |
29 |
> else to say what they think, as it seems I'm not the only one thinking this |
30 |
> is a good idea. |
31 |
> |
32 |
|
33 |
Amen |
34 |
but isn't the only way and as I told you already I'd rather have stuff |
35 |
properly set in profiles specific even if I like the idea of being able |
36 |
to check for compiler support. |
37 |
|
38 |
lu |
39 |
|
40 |
-- |
41 |
|
42 |
Luca Barbato |
43 |
|
44 |
Gentoo/linux Gentoo/PPC |
45 |
http://dev.gentoo.org/~lu_zero |
46 |
|
47 |
-- |
48 |
gentoo-dev@g.o mailing list |