[LLVMdev] Registering '-march=' option for LLC
Chris Lattner
sabre at nondot.org
Fri Nov 17 11:41:59 PST 2006
On Sat, 18 Nov 2006, [ks_c_5601-1987] "À̽ÂÀç" wrote:
> Thank you very much for replying to me for the previous long quesions.
> Actually, I have another question for LLC.
> While making my code for LLVM backend, I'd indeed like to convert HLL to the text
> assembly code for my new architecture.
> I registered my target through
>
> RegisterTarget<XccTargetMachine> X("xcc", "XCC");
Make sure that the library is being linked into your tool. This requires
adding code to llvm/autoconf/configure.ac (search for TARGETS_TO_BUILD,
add yours). Then regenerate configure, then rerun configure, then rebuild
llc.
> And I have my own LLVM code in my /home directory.
> I don't want any conflict with that one in the root while using LLC.
I'm not sure where this came from.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list