This is the mail archive of the
mailing list for the GCC project.
darwin cross compiling breakage
- From: Mike Stump <mrs at apple dot com>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 6 Jun 2006 05:57:49 -0700
- Subject: darwin cross compiling breakage
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.
So, presently, I'm doing something like the below patch. Kinda
gross, but effective.
Ok for mainline, or do people have some other easy way to disentangle
Description: Text document