[llvm-commits] CVS: llvm/win32/README.txt llvm.sln llvm.suo unistd.h
Reid Spencer
reid at x10sys.com
Wed Nov 3 08:14:50 PST 2004
Changes in directory llvm/win32:
README.txt added (r1.1)
llvm.sln added (r1.1)
llvm.suo added (r1.1)
unistd.h added (r1.1)
---
Log message:
Top level files for building natively on win32
---
Diffs of the changes: (+183 -0)
Index: llvm/win32/README.txt
diff -c /dev/null llvm/win32/README.txt:1.1
*** /dev/null Wed Nov 3 10:14:50 2004
--- llvm/win32/README.txt Wed Nov 3 10:14:40 2004
***************
*** 0 ****
--- 1,48 ----
+ Directory structure
+ ===================
+ Although I have made every effort not to use absolute paths, I have only tested building
+ with my own directory structure and it looks like this:
+
+ c:\project\llvm ; Main project directory
+ c:\project\llvm\win32 ; win32 project
+ c:\project\llvm\win32\tools ; flex, bison and sed live here
+ c:\project\llvm\win32\share ; flex, bison and sed support files
+
+ Requirements
+ ============
+
+ You need flex, sed and bison - I'm using the GnuWin32 versions of these tools which can be obtained from
+
+ http://gnuwin32.sourceforge.net/
+
+ Limitations
+ ============
+
+ At the moment only the core LLVM libraries and the tablegen executable are built. If anyone has time to
+ port the rest of the LLVM tools it would be great...
+
+ Other notes
+ ===========
+
+ When linking with your own application it is of the utmost importance that you use the same runtime
+ libraries in compiling LLVM as in your own project. Otherwise you will get a lot of errors. To change this,
+ just mark all the projects except the Config project (since it doesn't use the C compiler) in the
+ solution explorer, select properties - then go to the C/C++ options and the Code Generation sub option page.
+ In the Runtime Library (6th from the top) select the appropriate version. Then change the active
+ configuration to Release (in the top left corner of the properties window) and select the appropriate
+ runtime library for the release version.
+
+ When linking with your applications, you need to force a symbol reference to bring in the x86 backend.
+ Open the properties for your main project and select the Linker options - under the Input options there
+ is a Force Symbol References field where you need to enter _X86TargetMachineModule. If anyone has a better
+ suggestion for how to trick the linker into always pulling in these objects, I'd be grateful...
+
+ Contact Information
+ ===================
+
+ please contact me at this address if you have any questions:
+
+ morten at hue.no
+
+
+ -- Morten Ofstad 2.11.2004
Index: llvm/win32/llvm.sln
diff -c /dev/null llvm/win32/llvm.sln:1.1
*** /dev/null Wed Nov 3 10:14:50 2004
--- llvm/win32/llvm.sln Wed Nov 3 10:14:40 2004
***************
*** 0 ****
--- 1,134 ----
+ Microsoft Visual Studio Solution File, Format Version 8.00
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Support", "Support\Support.vcproj", "{28AA9146-3482-4F41-9CC6-407B1D258508}"
+ ProjectSection(ProjectDependencies) = postProject
+ {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TableGen", "TableGen\TableGen.vcproj", "{339C2249-26B6-4172-B484-85653029AF57}"
+ ProjectSection(ProjectDependencies) = postProject
+ {28AA9146-3482-4F41-9CC6-407B1D258508} = {28AA9146-3482-4F41-9CC6-407B1D258508}
+ {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
+ {0F8407F3-FA23-4CF1-83A9-DCBE0B361489} = {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Fibonacci", "Fibonacci\Fibonacci.vcproj", "{48FB551D-E37E-42EC-BC97-FF7219774867}"
+ ProjectSection(ProjectDependencies) = postProject
+ {0622E827-8464-489D-8B1C-B0B496F35C08} = {0622E827-8464-489D-8B1C-B0B496F35C08}
+ {28AA9146-3482-4F41-9CC6-407B1D258508} = {28AA9146-3482-4F41-9CC6-407B1D258508}
+ {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4} = {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}
+ {08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897} = {08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897}
+ {C59374C1-9FC0-4147-B836-327DFDC52D99} = {C59374C1-9FC0-4147-B836-327DFDC52D99}
+ {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB} = {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}
+ {76295AE8-A083-460E-9F80-6F2B8923264A} = {76295AE8-A083-460E-9F80-6F2B8923264A}
+ {0F8407F3-FA23-4CF1-83A9-DCBE0B361489} = {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}
+ {144EEBF6-8C9B-4473-B715-2C821666AF6C} = {144EEBF6-8C9B-4473-B715-2C821666AF6C}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ExecutionEngine", "ExecutionEngine\ExecutionEngine.vcproj", "{76295AE8-A083-460E-9F80-6F2B8923264A}"
+ ProjectSection(ProjectDependencies) = postProject
+ {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VMCore", "VMCore\VMCore.vcproj", "{45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}"
+ ProjectSection(ProjectDependencies) = postProject
+ {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Target", "Target\Target.vcproj", "{059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}"
+ ProjectSection(ProjectDependencies) = postProject
+ {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
+ {144EEBF6-8C9B-4473-B715-2C821666AF6C} = {144EEBF6-8C9B-4473-B715-2C821666AF6C}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CodeGen", "CodeGen\CodeGen.vcproj", "{08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897}"
+ ProjectSection(ProjectDependencies) = postProject
+ {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "System", "System\System.vcproj", "{0F8407F3-FA23-4CF1-83A9-DCBE0B361489}"
+ ProjectSection(ProjectDependencies) = postProject
+ {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Analysis", "Analysis\Analysis.vcproj", "{0622E827-8464-489D-8B1C-B0B496F35C08}"
+ ProjectSection(ProjectDependencies) = postProject
+ {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "x86", "x86\x86.vcproj", "{144EEBF6-8C9B-4473-B715-2C821666AF6C}"
+ ProjectSection(ProjectDependencies) = postProject
+ {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
+ {339C2249-26B6-4172-B484-85653029AF57} = {339C2249-26B6-4172-B484-85653029AF57}
+ {08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897} = {08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897}
+ {C59374C1-9FC0-4147-B836-327DFDC52D99} = {C59374C1-9FC0-4147-B836-327DFDC52D99}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Transforms", "Transforms\Transforms.vcproj", "{C59374C1-9FC0-4147-B836-327DFDC52D99}"
+ ProjectSection(ProjectDependencies) = postProject
+ {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E}
+ EndProjectSection
+ EndProject
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Configure", "Configure\Configure.vcproj", "{19514E48-456C-4B9D-8637-F2285476461E}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+ EndProject
+ Global
+ GlobalSection(SolutionConfiguration) = preSolution
+ Debug = Debug
+ Release = Release
+ EndGlobalSection
+ GlobalSection(ProjectConfiguration) = postSolution
+ {28AA9146-3482-4F41-9CC6-407B1D258508}.Debug.ActiveCfg = Debug|Win32
+ {28AA9146-3482-4F41-9CC6-407B1D258508}.Debug.Build.0 = Debug|Win32
+ {28AA9146-3482-4F41-9CC6-407B1D258508}.Release.ActiveCfg = Release|Win32
+ {28AA9146-3482-4F41-9CC6-407B1D258508}.Release.Build.0 = Release|Win32
+ {339C2249-26B6-4172-B484-85653029AF57}.Debug.ActiveCfg = Debug|Win32
+ {339C2249-26B6-4172-B484-85653029AF57}.Debug.Build.0 = Debug|Win32
+ {339C2249-26B6-4172-B484-85653029AF57}.Release.ActiveCfg = Release|Win32
+ {339C2249-26B6-4172-B484-85653029AF57}.Release.Build.0 = Release|Win32
+ {48FB551D-E37E-42EC-BC97-FF7219774867}.Debug.ActiveCfg = Debug|Win32
+ {48FB551D-E37E-42EC-BC97-FF7219774867}.Debug.Build.0 = Debug|Win32
+ {48FB551D-E37E-42EC-BC97-FF7219774867}.Release.ActiveCfg = Release|Win32
+ {48FB551D-E37E-42EC-BC97-FF7219774867}.Release.Build.0 = Release|Win32
+ {76295AE8-A083-460E-9F80-6F2B8923264A}.Debug.ActiveCfg = Debug|Win32
+ {76295AE8-A083-460E-9F80-6F2B8923264A}.Debug.Build.0 = Debug|Win32
+ {76295AE8-A083-460E-9F80-6F2B8923264A}.Release.ActiveCfg = Release|Win32
+ {76295AE8-A083-460E-9F80-6F2B8923264A}.Release.Build.0 = Release|Win32
+ {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}.Debug.ActiveCfg = Debug|Win32
+ {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}.Debug.Build.0 = Debug|Win32
+ {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}.Release.ActiveCfg = Release|Win32
+ {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}.Release.Build.0 = Release|Win32
+ {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}.Debug.ActiveCfg = Debug|Win32
+ {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}.Debug.Build.0 = Debug|Win32
+ {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}.Release.ActiveCfg = Release|Win32
+ {059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}.Release.Build.0 = Release|Win32
+ {08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897}.Debug.ActiveCfg = Debug|Win32
+ {08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897}.Debug.Build.0 = Debug|Win32
+ {08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897}.Release.ActiveCfg = Release|Win32
+ {08CEB1BB-C2A4-4587-B9A9-AEDB8FB44897}.Release.Build.0 = Release|Win32
+ {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}.Debug.ActiveCfg = Debug|Win32
+ {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}.Debug.Build.0 = Debug|Win32
+ {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}.Release.ActiveCfg = Release|Win32
+ {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}.Release.Build.0 = Release|Win32
+ {0622E827-8464-489D-8B1C-B0B496F35C08}.Debug.ActiveCfg = Debug|Win32
+ {0622E827-8464-489D-8B1C-B0B496F35C08}.Debug.Build.0 = Debug|Win32
+ {0622E827-8464-489D-8B1C-B0B496F35C08}.Release.ActiveCfg = Release|Win32
+ {0622E827-8464-489D-8B1C-B0B496F35C08}.Release.Build.0 = Release|Win32
+ {144EEBF6-8C9B-4473-B715-2C821666AF6C}.Debug.ActiveCfg = Debug|Win32
+ {144EEBF6-8C9B-4473-B715-2C821666AF6C}.Debug.Build.0 = Debug|Win32
+ {144EEBF6-8C9B-4473-B715-2C821666AF6C}.Release.ActiveCfg = Release|Win32
+ {144EEBF6-8C9B-4473-B715-2C821666AF6C}.Release.Build.0 = Release|Win32
+ {C59374C1-9FC0-4147-B836-327DFDC52D99}.Debug.ActiveCfg = Debug|Win32
+ {C59374C1-9FC0-4147-B836-327DFDC52D99}.Debug.Build.0 = Debug|Win32
+ {C59374C1-9FC0-4147-B836-327DFDC52D99}.Release.ActiveCfg = Release|Win32
+ {C59374C1-9FC0-4147-B836-327DFDC52D99}.Release.Build.0 = Release|Win32
+ {19514E48-456C-4B9D-8637-F2285476461E}.Debug.ActiveCfg = Configure|Win32
+ {19514E48-456C-4B9D-8637-F2285476461E}.Debug.Build.0 = Configure|Win32
+ {19514E48-456C-4B9D-8637-F2285476461E}.Release.ActiveCfg = Configure|Win32
+ {19514E48-456C-4B9D-8637-F2285476461E}.Release.Build.0 = Configure|Win32
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ EndGlobalSection
+ GlobalSection(ExtensibilityAddIns) = postSolution
+ EndGlobalSection
+ EndGlobal
Index: llvm/win32/llvm.suo
Index: llvm/win32/unistd.h
diff -c /dev/null llvm/win32/unistd.h:1.1
*** /dev/null Wed Nov 3 10:14:50 2004
--- llvm/win32/unistd.h Wed Nov 3 10:14:40 2004
***************
*** 0 ****
--- 1 ----
+ // This file has to be here because it's #included from the auto generated FileLexer.cpp
\ No newline at end of file
More information about the llvm-commits
mailing list