Journeyer J. Joh
2012-Sep-02 16:00 UTC
[LLVMdev] How can I modify Clang/LLVM build system?
Hello, I want to state my question again because I think the question I wrote was vague or not clear. I'd like to know - on which file I need to work, and - on which part of the file I need to modify - to add a path for 3rd party(ACE) header files, - to add a path for my custom header files, - to add a path for 3rd party(ACE) Library, - to define a Macro, and - to specify a 3rd party(ACE) library from current LLVM and Clang build system. What I need to add into current build system are -I$ACE_ROOT ..............(adding a path for ACE header files) -I../LogManager .............(adding a path for my custom header files) -L$ACE_ROOT/lib .........(adding a path for ACE Library) -DACE_NTRACE=0 .......(define a Macro) -lACE ..............................(specifying an ACE library) What I know is Makefile.am if it is GNU autotools. But I can't find this file from current LLVM/Clang source code. And also I wonder if any people should use any kind of logging or tracing method to debug and trace LLVM/Clang. (This is not a big question though..) I appreciate your concern and help in advance. Journeyer J. Joh 2012/9/2 Journeyer J. Joh <oosaprogrammer at gmail.com>:> Hello list, > > I am now trying to apply a debugging functionality provided from ACE > network framework to Clang/LLVM. > The debugging functionality is just for printing debugging messages > and tracing function calls. > > To do this I need to make clang source code use ACE library. > And to do this I need to modify Makefiles of Clang and LLVM. > > What I need to do is just adding those shown below to Makefile. > -I$ACE_ROOT ..............(adding a path for ACE header files) > -I../LogManager .............(adding a path for my custom header files) > -L$ACE_ROOT/lib .........(adding a path for ACE Library) > -DACE_NTRACE=0 .......(define a Macro) > -lACE ..............................(specifying an ACE library) > > How am I supposed to work on which file in Clang and LLVM source code? > > Thank you very much in advance. > > Best regards > Journeyer J. Joh > > -- > ---------------------------------------- > Journeyer J. Joh > o o s a p r o g r a m m e r > a t > g m a i l d o t c o m > ------------------------------------------ ---------------------------------------- Journeyer J. Joh o o s a p r o g r a m m e r a t g m a i l d o t c o m ----------------------------------------
Maybe Matching Threads
- [LLVMdev] How can I modify Clang/LLVM build system?
- [LLVMdev] Need some brief explanation about llvm::MemoryBuffer and llvm::SourceMgr
- [LLVMdev] git repository of the tutorial
- [LLVMdev] [cfe-dev] Do you use UML utility programs?
- [LLVMdev] git repository of the tutorial