llvm.org GIT mirror llvm / 9cb24d0
Cleanup obsolete stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35268 91177308-0d34-0410-b5e6-96231b3b80d8 Jeff Cohen 12 years ago
2 changed file(s) with 0 addition(s) and 50 deletion(s). Raw diff Collapse all Expand all
22 llvm
33 llvm.ncb
44 llvm.suo
5 share
6 tools
+0
-48
win32/README.txt less more
None Directory structure
1 ===================
2 Although I have made every effort not to use absolute paths, I have only tested building
3 with my own directory structure and it looks like this:
4
5 c:\project\llvm ; Main project directory
6 c:\project\llvm\win32 ; win32 project
7 c:\project\llvm\win32\tools ; flex, bison and sed live here
8 c:\project\llvm\win32\share ; flex, bison and sed support files
9
10 Requirements
11 ============
12
13 You need flex, sed and bison - I'm using the GnuWin32 versions of these tools which can be obtained from
14
15 http://gnuwin32.sourceforge.net/
16
17 Limitations
18 ============
19
20 At the moment only the core LLVM libraries and the tablegen executable are built. If anyone has time to
21 port the rest of the LLVM tools it would be great...
22
23 Other notes
24 ===========
25
26 When linking with your own application it is of the utmost importance that you use the same runtime
27 libraries in compiling LLVM as in your own project. Otherwise you will get a lot of errors. To change this,
28 just mark all the projects except the Config project (since it doesn't use the C compiler) in the
29 solution explorer, select properties - then go to the C/C++ options and the Code Generation sub option page.
30 In the Runtime Library (6th from the top) select the appropriate version. Then change the active
31 configuration to Release (in the top left corner of the properties window) and select the appropriate
32 runtime library for the release version.
33
34 When linking with your applications, you need to force a symbol reference to bring in the x86 backend.
35 Open the properties for your main project and select the Linker options - under the Input options there
36 is a Force Symbol References field where you need to enter _X86TargetMachineModule. If anyone has a better
37 suggestion for how to trick the linker into always pulling in these objects, I'd be grateful...
38
39 Contact Information
40 ===================
41
42 please contact me at this address if you have any questions:
43
44 morten@hue.no
45
46
47 -- Morten Ofstad 2.11.2004