[cfe-dev] Linking against Clang 3.0 on Ubuntu 12.04 issue

陳韋任 chenwj at iis.sinica.edu.tw
Wed May 9 23:05:55 PDT 2012


On Thu, May 10, 2012 at 12:29:38AM -0400, Krunal Rao wrote:
> Thank you all for the prompt replies!
> 
> I am following these steps and it's working, but I have two questions:
> 
> - The code listed below builds the Release version (the LLVM getting
> started documentation suggested it would build the Debug one). How can
> I obtain the Debug version instead?
> 
> - What options should I pass to configure (or make) to install LLVM
> and Clang into an arbitrary "root" directory? (for "root" I mean the
> dir that will contain /bin /lib ecc ecc).

  You can use `${LLVM_SRC}/configure --help` to see what options are available.

A1.
    ${LLVM_SRC}/configure --enable-optimized=no

A2.
    ${LLVM_SRC}/configure --prefix=WHAT_DIR_YOU_LIKE

  The debug mode is preferred if there is something goes wrong, it can give you
more information.

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj




More information about the cfe-dev mailing list