[LLVMdev] writing transforms newbie question

Simon Burton simon at arrowtheory.com
Fri Apr 14 08:08:13 PDT 2006


On Fri, 14 Apr 2006 00:21:19 -0500
"Ryan M. Lefever" <lefever at crhc.uiuc.edu> wrote:

> 
> Do I need my transform in the LLVM lib/Transforms directory to build it? 
>   Are there other variables I need to set in the makefile?

I use the llvm-config utility with g++, eg.

g++ myfile.o `llvm-config --ldflags` `llvm-config --libs` -lpthread -ldl -o mytest

Simon.

-- 
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com 




More information about the llvm-dev mailing list