[dia] Remove LDFLAGS overwrite to also work with WinDDK msvc, see readme.win32



commit 28e7a66da571c9b61989261352ef5b9a12f6ae9b
Author: Hans Breuer <hans breuer org>
Date:   Wed Aug 19 12:00:37 2009 +0200

    Remove LDFLAGS overwrite to also work with WinDDK msvc, see readme.win32

 app/makefile.msc |    1 -
 lib/makefile.msc |    1 -
 readme.win32     |    8 ++++++++
 3 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/app/makefile.msc b/app/makefile.msc
index 5c1f48f..f9148b2 100644
--- a/app/makefile.msc
+++ b/app/makefile.msc
@@ -110,7 +110,6 @@ dia-app-icons.h : makefile.msc pixmaps\*.png
 
 # No general LDFLAGS needed
 # /subsystem:console and /subsystem:windows have their own exe
-LDFLAGS = /link $(LINKDEBUG) /machine:ix86
 INSTALL = copy
 
 CFLAGS = -I. -I$(PRJ_TOP) -DHAVE_CONFIG_H
diff --git a/lib/makefile.msc b/lib/makefile.msc
index 1af2d7f..2942b60 100644
--- a/lib/makefile.msc
+++ b/lib/makefile.msc
@@ -145,7 +145,6 @@ diamarshal.c: diamarshal.h
 
 
 # No general LDFLAGS needed
-LDFLAGS = /link $(LINKDEBUG)
 INSTALL = copy
 
 ## targets
diff --git a/readme.win32 b/readme.win32
index 66d9e47..d46f49d 100644
--- a/readme.win32
+++ b/readme.win32
@@ -72,5 +72,13 @@ work).
   spare time, to build the latest, greatest Dia version.
 4) Copy the files to their directories (see binary package)
 
+Using a newer compiler (but still linking msvcrt.dll)
+
+ * Free (as in beer) Windows DDK contains an updated compiler:
+   http://kobyk.wordpress.com/2007/07/20/dynamically-linking-with-msvcrtdll-using-visual-c-2005/
+
+ * unresolved external symbol _ftol2_sse or _except_handler4_common
+   in $(TOP)/glib/build/win32/make.msc add 'msvcrt_winxp.obj' to 'LDFLAGS' before '/link'
+ 
 Have Fun,
 	Hans Breuer <Hans Breuer Org>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]