Cling - The Interactive C++ Interpreter
Go to file
Axel Naumann 68d1b137b5 Pass lvalues like declRefExpr as references into the cling::Value (ROOT-6107).
This restores ReturnSynthesizer's behavior for ValueExtractionSynthesizer.
2014-02-26 09:22:04 +01:00
demo Refer to license in test and demo files. 2014-01-07 12:02:58 +01:00
docs No svnversion anymore. Use something similar. 2014-02-21 10:47:04 +01:00
include Allow updating of the MetaProcessor's output stream, to redirect a meta command. 2014-02-25 14:18:01 +01:00
lib Pass lvalues like declRefExpr as references into the cling::Value (ROOT-6107). 2014-02-26 09:22:04 +01:00
patches Use Consistent naming. 2014-02-21 10:41:03 +01:00
test Test decl extraction of const enum. 2014-02-19 15:59:01 +01:00
tools Do not strip symbols; we need them for the JIT. 2014-02-18 17:08:57 +01:00
www dos2unix 2013-05-03 14:14:17 +02:00
CMakeLists.txt Adapt -fno-rtti compiler option for MSVC 2014-02-20 22:01:57 +01:00
CREDITS.txt Add credits. 2014-01-07 11:43:53 +01:00
LastKnownGoodLLVMSVNRevision.txt Follow changes in llvm/clang. 2014-02-18 08:29:38 +01:00
LICENSE.TXT Add LICENSE.TXT file, to be referenced by all files in cling. 2014-01-07 11:13:55 +01:00
Makefile Correct licenses in Makefiles. 2014-01-07 11:13:56 +01:00
Module.mk Add more runtime llvm headers. 2014-02-18 11:27:59 +01:00
README Add Usage info. 2014-02-21 10:41:03 +01:00

          _  _  _      _         _  _  _   _           _      _  _  _
       _ (_)(_)(_) _  (_)       (_)(_)(_) (_) _       (_)  _ (_)(_)(_) _
      (_)         (_) (_)          (_)    (_)(_)_     (_) (_)         (_)
      (_)             (_)          (_)    (_)  (_)_   (_) (_)    _  _  _
      (_)             (_)          (_)    (_)    (_)_ (_) (_)   (_)(_)(_)
      (_)          _  (_)          (_)    (_)      (_)(_) (_)         (_)
      (_) _  _  _ (_) (_) _  _   _ (_) _  (_)         (_) (_) _  _  _ (_)
         (_)(_)(_)    (_)(_)(_) (_)(_)(_) (_)         (_)    (_)(_)(_)(_)

--------------------------------------------------------------------------------

1. INSTALLATION 

--------------------------------------------------------------------------------
1.1. Binaries
   We offer binary snapshots for download at https://ecsft.cern.ch/dist/cling
--------------------------------------------------------------------------------
1.2 Source

   CLING source depends on the LLVM[1] and CLANG[2] headers and libraries.
You will also need CMake[3] >= 2.6.1 or GNU Make to build all of those
packages and subversion[4] and git[5] to get the source code.

   [1] http://llvm.org
   [2] http://clang.llvm.org
   [3] http://cmake.org
   [4] http://subversion.tigris.org
   [5] http://git-scm.com

1.2.1 Building

   Building LLVM and CLANG you must:

   * Check out the sources:

      git clone http://root.cern.ch/git/llvm.git src
      cd src
      git checkout cling-patches
      cd tools
      git clone http://root.cern.ch/git/cling.git
      git clone http://root.cern.ch/git/clang.git
      cd clang
      git checkout cling-patches

   * Configure, build and install them, either using CMake:

     cd ..
     mkdir build
     cd build
     cmake -DCMAKE_INSTALL_PREFIX=/some/install/dir \
           -DLLVM_TARGETS_TO_BUILD=CBackend\;CppBackend\;X86 \
           -DCMAKE_BUILD_TYPE=Debug \
           ../src
     make
     make install

     or GNU Make (see ../src/configure --help for all options):

     cd ..
     mkdir build
     cd build
     ../src/configure --prefix=/some/install/dir
     make
     make install
--------------------------------------------------------------------------------

2. USAGE

   To get started run: /some/install/dir/bin/cling --help
   or type
   /some/install/dir/bin/cling
   [cling]$ .help
--------------------------------------------------------------------------------
3. Developers' corner:
   We have doxygen documentation of cling's code at:
http://cling.web.cern.ch/cling/doxygen/
--------------------------------------------------------------------------------