From a5c5c85a8c0ed30b62113cc007a10bc305926a5b Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 06:47:21 +0000 Subject: [PATCH] 2002/05/16 04:28:23 darcs-hash:20040130064721-2ba56-25d119d7a43671c91ace0aeb75422df6a25b95f1.gz --- CHANGES | 3 +++ src/org/xwt/plat/GCJ.xml | 12 ++++++------ src/org/xwt/plat/Win32.xml | 30 ++++++++++++++++-------------- 3 files changed, 25 insertions(+), 20 deletions(-) diff --git a/CHANGES b/CHANGES index 72779c1..ad1963c 100644 --- a/CHANGES +++ b/CHANGES @@ -159,3 +159,6 @@ 15-May megacz XMLRPC.java: call() is now synchronized +15-May megacz Win32.xml, GCJ.xml, GCJHTask.java: ${gcc-prefix} now ends + with a dash. + diff --git a/src/org/xwt/plat/GCJ.xml b/src/org/xwt/plat/GCJ.xml index 2f4af1d..e8b514b 100644 --- a/src/org/xwt/plat/GCJ.xml +++ b/src/org/xwt/plat/GCJ.xml @@ -21,7 +21,7 @@ - + @@ -35,7 +35,7 @@ - + @@ -43,19 +43,19 @@ - + - + - - + + diff --git a/src/org/xwt/plat/Win32.xml b/src/org/xwt/plat/Win32.xml index aade505..7b56736 100644 --- a/src/org/xwt/plat/Win32.xml +++ b/src/org/xwt/plat/Win32.xml @@ -3,9 +3,10 @@ - + + @@ -22,24 +23,25 @@ - /usr/local/gcc/bin/i686-pc-mingw32-g++ -DCOMPILE_DLL -DBUILDID=\"${build-id}\" -DCLSID_STRUCT="${clsid-struct}" \ - -c src/org/xwt/plat/Win32.cc -o bin-Win32/Win32-dll.o - /usr/local/gcc/bin/i686-pc-mingw32-g++ -Wl,--base-file,/tmp/basefile -mdll -Wl,-e,_DllMainCRTStartup@12 \ - -o bin-Win32/cabsrc/xwt-${build-id}.dll bin-Win32/Win32-dll.o -lole32 -luuid - /usr/local/gcc/bin/i686-pc-mingw32-dlltool --base-file /tmp/basefile --output-exp bin-Win32/xwt.exp \ - --def src/org/xwt/plat/Win32.def - /usr/local/gcc/bin/i686-pc-mingw32-g++ -Wl,--base-file,/tmp/basefile bin-Win32/xwt.exp -mdll -Wl,-e,_DllMainCRTStartup@12 \ - -o bin-Win32/cabsrc/xwt-${build-id}.dll bin-Win32/Win32-dll.o -lole32 -luuid - /usr/local/gcc/bin/i686-pc-mingw32-dlltool --base-file /tmp/basefile --output-exp bin-Win32/xwt.exp --def src/org/xwt/plat/Win32.def - /usr/local/gcc/bin/i686-pc-mingw32-g++ bin-Win32/xwt.exp -mdll -Wl,-e,_DllMainCRTStartup@12 -o bin-Win32/cabsrc/xwt-${build-id}.dll \ - bin-Win32/Win32-dll.o -lole32 -luuid + ${gcc-path}/bin/i686-pc-mingw32-g++ -DCOMPILE_DLL -DBUILDID=\"${build-id}\" -DCLSID_STRUCT="${clsid-struct}" \ + -c src/org/xwt/plat/Win32.cc -o bin-Win32/Win32-dll.o + ${gcc-path}/bin/i686-pc-mingw32-g++ -Wl,--base-file,/tmp/basefile -mdll -Wl,-e,_DllMainCRTStartup@12 \ + -o bin-Win32/cabsrc/xwt-${build-id}.dll bin-Win32/Win32-dll.o -lole32 -luuid + ${gcc-path}/bin/i686-pc-mingw32-dlltool --base-file /tmp/basefile --output-exp bin-Win32/xwt.exp \ + --def src/org/xwt/plat/Win32.def + ${gcc-path}/bin/i686-pc-mingw32-g++ -Wl,--base-file,/tmp/basefile bin-Win32/xwt.exp -mdll -Wl,-e,_DllMainCRTStartup@12 \ + -o bin-Win32/cabsrc/xwt-${build-id}.dll bin-Win32/Win32-dll.o -lole32 -luuid + ${gcc-path}/bin/i686-pc-mingw32-dlltool --base-file /tmp/basefile --output-exp bin-Win32/xwt.exp --def src/org/xwt/plat/Win32.def + ${gcc-path}/bin/i686-pc-mingw32-g++ bin-Win32/xwt.exp -mdll -Wl,-e,_DllMainCRTStartup@12 -o bin-Win32/cabsrc/xwt-${build-id}.dll \ + bin-Win32/Win32-dll.o -lole32 -luuid +# ${gcc-path}/bin/i686-pc-mingw32-strip bin-Win32/cabsrc/xwt-${build-id}.dll cat > bin-Win32/cabsrc/xwt-${build-id}.inf <<\EOF -;; This file will be copied to bin-Win32/xwt-${build-id}.inf and then packed up +;; This file will be copied to bin-Win32/cabsrc/xwt-${build-id}.inf and then packed up ;; into the .cab file for distribution [version] @@ -61,7 +63,7 @@ EOF - /usr/local/gcc/bin/i686-pc-mingw32-strip bin-Win32/cabsrc/xwt-${build-id}.exe + ${gcc-path}/bin/i686-pc-mingw32-strip bin-Win32/cabsrc/xwt-${build-id}.exe -- 1.7.10.4