This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 cross compilations?

Attachment: x-1.diffs.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]