Gentoo Archives: gentoo-alt

From: John Gibson <jgibson@×××××.org>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] -arch on OS X
Date: Thu, 20 Nov 2008 19:00:55
Message-Id: 346962A8-B2A4-4F93-8B00-39DD84C23ABE@mitre.org
1 The standard Apple version of gcc supports -arch arguments to allow
2 for the building of universal binaries (i.e. gcc -arch x86 -arch ppc -
3 c foo.c).
4 I noticed that my portage version of Apple''s gcc doesn't support this.
5 4.0.1 ignores multiple -arch arguments and only produces x86 binaries
6 (I'm on x86 OS X 10.4).
7 4.2.1 just gives me cc1: error: unrecognized command line option "-arch"
8
9 Is there some other way to build universal binaries, or is that just
10 not supported in prefixed portage?
11
12 John

Replies

Subject Author
Re: [gentoo-alt] -arch on OS X Fabian Groffen <grobian@g.o>