1 |
On 20-11-2008 14:01:18 -0500, John Gibson wrote: |
2 |
> The standard Apple version of gcc supports -arch arguments to allow for |
3 |
> the building of universal binaries (i.e. gcc -arch x86 -arch ppc -c |
4 |
> foo.c). |
5 |
> I noticed that my portage version of Apple''s gcc doesn't support this. |
6 |
> 4.0.1 ignores multiple -arch arguments and only produces x86 binaries |
7 |
> (I'm on x86 OS X 10.4). |
8 |
> 4.2.1 just gives me cc1: error: unrecognized command line option "-arch" |
9 |
|
10 |
I'm not sure what apple does to get this working. |
11 |
|
12 |
> Is there some other way to build universal binaries, or is that just not |
13 |
> supported in prefixed portage? |
14 |
|
15 |
Well, it belongs to the domain of multilib, do it's not supported. If |
16 |
you want to do that, build a proper cross-compiler targetted for the |
17 |
other arch. That should work (it did once for me). |
18 |
|
19 |
|
20 |
-- |
21 |
Fabian Groffen |
22 |
Gentoo on a different level |