This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: darwin cross compiling breakage
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Mike Stump <mrs at apple dot com>
- Cc: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 6 Jun 2006 07:14:59 -0700
- Subject: Re: darwin cross compiling breakage
- References: <E0144154-C0E5-48C6-B062-1C94D9C785FC@apple.com>
On Jun 6, 2006, at 5:57 AM, Mike Stump wrote:
The recent changes to support code generation for the current
machine on x86 has broken darwin's ppc x i386 compiler. :-( We go
out of our way to not define CROSS_COMPILE to get everything to
work right, but there just isn't anyway to run x86 instructions of
the ppc to figure out what x86 cpu we're on. :-) We could run ppc
instructions on the x86, but I digress.
That seems wrong. Not defining CROSS_COMPILE is asking for trouble
later on. This is just one
example.
-- Pinski