diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2007-05-03 20:04:53 (GMT) |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2007-05-03 20:04:53 (GMT) |
commit | 19ac472ba12c41e201b91a45e21ebc0b079d3ca1 (patch) | |
tree | ac589568aad10986b9182e805abe0a2eb587c6d4 | |
parent | 27f4abf3b16ab818eae765439341139babc9ea31 (diff) | |
download | cpython-19ac472ba12c41e201b91a45e21ebc0b079d3ca1.zip cpython-19ac472ba12c41e201b91a45e21ebc0b079d3ca1.tar.gz cpython-19ac472ba12c41e201b91a45e21ebc0b079d3ca1.tar.bz2 |
Fix pcbuild8 after recent overhaul: Added the version resource to python26.dll. Adjust stacksize to 2Mb and made large address aware for 32 bits, and set stacksize to 3Mb for 64 bits.
Todo: Set .dll optimized load addresses, and side-by-side packaging of the python26.dll.
-rw-r--r-- | PCbuild8/make_versioninfo/make_versioninfo.vcproj | 2 | ||||
-rw-r--r-- | PCbuild8/pcbuild.sln | 5 | ||||
-rw-r--r-- | PCbuild8/pyproject.vsprops | 4 | ||||
-rw-r--r-- | PCbuild8/python/python.vcproj | 12 | ||||
-rw-r--r-- | PCbuild8/pythoncore/pythoncore.vcproj | 4 | ||||
-rw-r--r-- | PCbuild8/pythonw/pythonw.vcproj | 12 |
6 files changed, 34 insertions, 5 deletions
diff --git a/PCbuild8/make_versioninfo/make_versioninfo.vcproj b/PCbuild8/make_versioninfo/make_versioninfo.vcproj index 95daa07..6e51944 100644 --- a/PCbuild8/make_versioninfo/make_versioninfo.vcproj +++ b/PCbuild8/make_versioninfo/make_versioninfo.vcproj @@ -90,7 +90,7 @@ <Tool
Name="VCPostBuildEventTool"
Description="Generating python_rc.h"
- CommandLine="$(OutDir)\$(TargetFileName) > ..\..\PC\python_rc.h
$(OutDir)\$(TargetFileName) > ..\..\PC\python_rc_d.h
"
+ CommandLine="$(OutDir)\$(TargetFileName) > ..\..\PC\pythonnt_rc.h
$(OutDir)\$(TargetFileName) > ..\..\PC\pythonnt_rc_d.h
"
/>
</Configuration>
</Configurations>
diff --git a/PCbuild8/pcbuild.sln b/PCbuild8/pcbuild.sln index 2690e08..982a16d 100644 --- a/PCbuild8/pcbuild.sln +++ b/PCbuild8/pcbuild.sln @@ -2,8 +2,8 @@ Microsoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2005 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pythoncore", "pythoncore\pythoncore.vcproj", "{987306EC-6BAD-4440-B4FB-A699A1EE6A28}" ProjectSection(ProjectDependencies) = postProject - {87AB87DB-B665-4621-A67B-878C15B93FF0} = {87AB87DB-B665-4621-A67B-878C15B93FF0} {2AB2AC43-1B73-40B1-8964-95B3FC3F15ED} = {2AB2AC43-1B73-40B1-8964-95B3FC3F15ED} + {87AB87DB-B665-4621-A67B-878C15B93FF0} = {87AB87DB-B665-4621-A67B-878C15B93FF0} EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_versioninfo", "make_versioninfo\make_versioninfo.vcproj", "{2AB2AC43-1B73-40B1-8964-95B3FC3F15ED}" @@ -16,9 +16,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_ctypes", "_ctypes\_ctypes. EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_ctypes_test", "_ctypes_test\_ctypes_test.vcproj", "{F548A318-960A-4B37-9CD6-86B1B0E33CC8}" - ProjectSection(ProjectDependencies) = postProject - {8D80F68B-F6EC-4E69-9B04-73F632A8A8ED} = {8D80F68B-F6EC-4E69-9B04-73F632A8A8ED} - EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_elementtree", "_elementtree\_elementtree.vcproj", "{CB025148-F0A1-4B32-A669-19EE0534136D}" ProjectSection(ProjectDependencies) = postProject diff --git a/PCbuild8/pyproject.vsprops b/PCbuild8/pyproject.vsprops index ace5fbf..e4c5f73 100644 --- a/PCbuild8/pyproject.vsprops +++ b/PCbuild8/pyproject.vsprops @@ -15,6 +15,10 @@ Name="VCLinkerTool"
AdditionalLibraryDirectories="$(OutDir)"
/>
+ <Tool
+ Name="VCResourceCompilerTool"
+ AdditionalIncludeDirectories="..\..\PC;..\..\Include"
+ />
<UserMacro
Name="PyDllName"
Value="python26"
diff --git a/PCbuild8/python/python.vcproj b/PCbuild8/python/python.vcproj index 5bf8912..2ec1b8a 100644 --- a/PCbuild8/python/python.vcproj +++ b/PCbuild8/python/python.vcproj @@ -65,6 +65,8 @@ LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="1"
+ StackReserveSize="2000000"
+ LargeAddressAware="2"
TargetMachine="1"
/>
<Tool
@@ -140,6 +142,7 @@ LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="1"
+ StackReserveSize="3000000"
TargetMachine="17"
/>
<Tool
@@ -212,6 +215,8 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
+ StackReserveSize="2000000"
+ LargeAddressAware="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
@@ -287,6 +292,7 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
+ StackReserveSize="3000000"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"
@@ -361,6 +367,8 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
+ StackReserveSize="2000000"
+ LargeAddressAware="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
@@ -436,6 +444,7 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
+ StackReserveSize="3000000"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"
@@ -510,6 +519,8 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
+ StackReserveSize="2000000"
+ LargeAddressAware="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
@@ -585,6 +596,7 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="1"
+ StackReserveSize="3000000"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"
diff --git a/PCbuild8/pythoncore/pythoncore.vcproj b/PCbuild8/pythoncore/pythoncore.vcproj index 844daf4..150277a 100644 --- a/PCbuild8/pythoncore/pythoncore.vcproj +++ b/PCbuild8/pythoncore/pythoncore.vcproj @@ -941,6 +941,10 @@ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
+ <File
+ RelativePath="..\..\PC\python_nt.rc"
+ >
+ </File>
</Filter>
<Filter
Name="Include"
diff --git a/PCbuild8/pythonw/pythonw.vcproj b/PCbuild8/pythonw/pythonw.vcproj index fbf06a8..9e2dc7b 100644 --- a/PCbuild8/pythonw/pythonw.vcproj +++ b/PCbuild8/pythonw/pythonw.vcproj @@ -65,6 +65,8 @@ LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
+ StackReserveSize="2000000"
+ LargeAddressAware="2"
TargetMachine="1"
/>
<Tool
@@ -140,6 +142,7 @@ LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
+ StackReserveSize="3000000"
TargetMachine="17"
/>
<Tool
@@ -211,6 +214,8 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
+ StackReserveSize="2000000"
+ LargeAddressAware="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
@@ -285,6 +290,7 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
+ StackReserveSize="3000000"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"
@@ -358,6 +364,8 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
+ StackReserveSize="2000000"
+ LargeAddressAware="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
@@ -432,6 +440,7 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
+ StackReserveSize="3000000"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"
@@ -505,6 +514,8 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
+ StackReserveSize="2000000"
+ LargeAddressAware="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
@@ -579,6 +590,7 @@ LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
+ StackReserveSize="3000000"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="17"
|