<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); ">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  </div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><br></div><div style="line-height: 17px; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; background-color: rgb(255, 255, 255); "><span style="font-size: 10pt; ">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: </span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 10pt; ">-target ppc750-bla-darwin   -S c:\projects\llvm_750\test1.cpp -o -</span></div><div style="line-height: 17px; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: arial, sans-serif; "><br></div><div style="line-height: 17px; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: arial, sans-serif; ">Thanks,</div><div style="line-height: 17px; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: arial, sans-serif; "><br></div><div style="line-height: 17px; background-color: rgb(255, 255, 255); color: rgb(34, 34, 34); font-family: arial, sans-serif; ">Sean</div>                                         </div></body>
</html>