[cfe-dev] How do I specify a specific PowerPC CPU to clang?

Sean Payne spayne3764 at hotmail.com
Mon Jun 18 16:32:15 PDT 2012


I want to have clang and then llvm generate code for a specific CPU.  Eg, suppose I want it to build for the PowerPC 750 CPU, how am I meant to tell clang  
I'm running the latest latest trunk versions of clang and llvm on windows and I'm running clang in the debugger.  I've tried all sorts of combinations, but can't get the "CPU" member of TargetOptions to be populated.  e.g. here are some arguments I've tried that didn't work: -target ppc750-bla-darwin   -S c:\projects\llvm_750\test1.cpp -o -
Thanks,
Sean 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120618/d684c095/attachment.html>


More information about the cfe-dev mailing list