[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Windows build patch

From: D.J. Heap <dj_at_shadyvale.net>
Date: 2003-05-11 04:57:50 CEST

Fix a bit more of the Windows dsp generator. This fixes the entry point
not defined errors for the test files -- I guess the linker didn't know
whether to look for main or WinMain if the subsystem wasn't specifically
set. It also moves the rest of the stray intermediate build files to
their appropriate location.

* build/generator/msvc_dsp.ezt:
     Add the /subsystem:console option to the linker settings for
     .exe files and move some more intermediate build files to
     the right location.

Index: build/generator/msvc_dsp.ezt
===================================================================
--- build/generator/msvc_dsp.ezt (revision 5881)
+++ build/generator/msvc_dsp.ezt (working copy)
@@ -46,7 +46,7 @@
 # ADD RSC /l [if-any is_exe]0x409[else]0x424[end]
 BSC32=bscmake.exe
 LINK32=link.exe
-[if-any is_exe is_apache_mod]# ADD LINK32 /nologo [is configs.name "Debug"]/debug[end] [if-any is_apache_mod]/dll[end] /machine:IX86[for libs] [libs][end][for configs.libdirs] /libpath:"[configs.libdirs]"[end] /out:"[rootpath]\[configs.name]\[target.path]\[target.name].[if-any is_exe]exe[else]so[end]"
+[if-any is_exe is_apache_mod]# ADD LINK32 /nologo [if-any is_exe]/subsystem:console[end] [is configs.name "Debug"]/debug[end] [if-any is_apache_mod]/dll[end] /machine:IX86[for libs] [libs][end][for configs.libdirs] /libpath:"[configs.libdirs]"[end] /out:"[rootpath]\[configs.name]\[target.path]\[target.name].[if-any is_exe]exe[else]so[end]"
 [end][end][end][end][end]
 !ENDIF
 
@@ -59,7 +59,7 @@
 [for platforms][for configs]
 ![if-index platforms first][if-index configs first][else]ELSE[end][else]ELSE[end]IF "$(CFG)" == "[target.dsp_name] - [platforms] [configs.name]"
 
-# PROP Intermediate_Dir "[rootpath]\[configs.name]\[target.name]\[sources.reldir]"
+# PROP Intermediate_Dir "[rootpath]\[configs.name]\[target.path]\[sources.reldir]"
 [end][end]
 !ENDIF
 [end]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 11 04:58:51 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.