1 |
On Wed, Jun 08, 2011 at 05:49:10PM +0200, Fabian Groffen wrote: |
2 |
> On 08-06-2011 11:45:56 -0400, W. Trevor King wrote: |
3 |
> > py2app bundles prebuilt stubs, but it looks like there *is* code to |
4 |
> > rebuild them if necessary [2]. I'm not sure if there's a good way to |
5 |
> > disable non-x64 stubs, or if that's even a good idea. The universal |
6 |
> > stub presumably uses the appropriate library for whatever system |
7 |
> > you're running on, but I am not enough of a linker guru to understand |
8 |
> > how any of that works ;). |
9 |
> |
10 |
> I think it IS a good idea. Simply because we don't do multilib in any |
11 |
> aspect of the system, so even though py2app thinks it is clever, it |
12 |
> won't ever work. |
13 |
> |
14 |
> A sed or any other hack to make sure it isn't going to do a multilib |
15 |
> build (typically -arch appears then) is just necessary here. |
16 |
|
17 |
Ok, so USE flags to enable stub installation: |
18 |
|
19 |
if use x64-macos; then |
20 |
# install *-x86_64 |
21 |
fi |
22 |
... |
23 |
|
24 |
I'm not quite sure of the arch-to-stub mapping, I think it should be |
25 |
|
26 |
arch stub |
27 |
--------- ---------------------------- |
28 |
x64-macos x86_64 |
29 |
ppc64 ppc64 |
30 |
ppc-macos ppc (possibly just ppc?) |
31 |
? intel |
32 |
? i386 |
33 |
? fat3 |
34 |
? fat |
35 |
-never- universal |
36 |
|
37 |
-- |
38 |
This email may be signed or encrypted with GnuPG (http://www.gnupg.org). |
39 |
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy |