• Home
Name
Date
Size
#Lines
LOC

..--

debug/03-May-2024-281266

docs/03-May-2024-129

include/mcld/03-May-2024-13,9278,585

lib/03-May-2024-20,06313,729

m4/03-May-2024-282263

optimized/03-May-2024-234227

scripts/03-May-2024-472350

templates/03-May-2024-14653

test/03-May-2024-32

tools/llvm-mcld/03-May-2024-909692

unittests/03-May-2024-5,0283,374

utils/03-May-2024-29,19418,623

.gitignoreD03-May-2024209 2120

Android.mkD03-May-2024652 3422

COPYINGD03-May-2024287 107

ChangeLogD03-May-20243.4 KiB11383

INSTALLD03-May-20249.2 KiB238183

LICENSE.TXTD03-May-20242.9 KiB6751

Makefile.amD03-May-202478 63

NEWSD03-May-20240

READMED03-May-20242 KiB6550

VERSION.inD03-May-2024589 2217

autogen.shD03-May-2024370 2011

configure.acD03-May-20242.6 KiB9882

mcld-device-build.mkD03-May-2024897 3829

mcld-host-build.mkD03-May-2024540 2823

mcld.mkD03-May-2024381 139

README

1------------------------------------------------------------------------------
2                            MCLinker Project
3------------------------------------------------------------------------------
4============
5Introduction
6============
7  MCLinker is a linkage editor.
8
9========================
10Compilation Instructions
11========================
12  The simplest way to compile this package is:
13
14----------------------
15Prepare LLVM and Clang
16----------------------
17  0.a Download LLVM 3.1@r155090
18      `svn co -r 155090 http://llvm.org/svn/llvm-project/llvm/trunk llvm-src'
19
20  0.b Type `cd llvm-src' to enter the directory containing LLVM source code
21
22  0.c Apply patches from MCLinker
23      `patch -p0 < ${MCLinker}/patch/LLVM.patch'
24
25  0.d Download Clang @r155088
26      `cd tools'
27      `svn co -r 155088 http://llvm.org/svn/llvm-project/cfe/trunk clang'
28
29  0.e Build and install LLVM
30      `cd ../../'
31      `mkdir llvm-build && cd ./llvm-build'
32      `../llvm/configure --prefix=${LLVM_INSTALL}'
33      `make all install'
34
35--------------
36Build MCLinker
37--------------
38
39  1.  Type `cd ${MCLinker}' to the directory containing the source code.
40
41  2.  source ./scripts/envsetup.sh
42
43  3.  If there are no `configure' shell script in the directory, type
44      `./autogen.sh' to generate `configure' script.
45
46  4.  Type `./configure` to configure the package for your system. See INSTALL
47      for more details.
48
49  5.  Type `make` to compile the package
50
51  6.  Type `make install` to install the package into your system.
52
53===================
54Directory Structure
55===================
56README               - this document
57Makefile.am          - input of automake
58configure.ac         - input of autoconf
59src/                 - source code of verification tool
60include/             - include file, exported interface
61lib/                 - source code of exported interface
62debug/               - placeholder of object files which are compiled for debugging
63optimized/           - placeholder of object files which are compiled for optimization
64test/                - placeholder of testcases
65