I am trying to build cross compiler for custom processor (say XYZ) but<div>on compilation it is giving error </div><div><br></div><div>llvm-build: error: invalid native target: XYZ (not in project)</div><div><br></div><div>
I have tried configuring like these</div><div><br></div><div>1. ./configure --target=XYZ</div><div>2. ./configure --target=XYZ --enable-targets=XYZ</div><div>3. ./configure --enable-targets=XYZ</div><div><br></div><div>But every time it is not recognising the XYZ processor.</div>
<div>What could be the problem?</div><div><br></div><div>Thanks & Regards</div><div>VSP</div>