set some linker options WINCE_NSPRPUB_RELEASE_4_2_BETA1
authorblythe%netscape.com
Fri, 08 Feb 2002 23:48:59 +0000
branchWINCE_NSPRPUB_RELEASE_4_2_BETA1
changeset 2237 a9d30a2856a392805e0c62a6c0a203cfa5b0f04c
parent 2236 37c1890a4c372ff04c99280920f6a007c800eff3
child 2238 d41dc9f298edd11b05b963f8644d094a163a5f35
push idunknown
push userunknown
push dateunknown
set some linker options
config/WIN32.mk
configure
configure.in
--- a/config/WIN32.mk
+++ b/config/WIN32.mk
@@ -188,9 +188,13 @@ endif
 ifdef USE_DEBUG_RTL
 OBJDIR_SUFFIX = OBJD
 else
 OBJDIR_SUFFIX = OBJ
 endif
 
 OBJDIR_NAME = $(OS_CONFIG)$(CPU_ARCH_TAG)$(OBJDIR_TAG).$(OBJDIR_SUFFIX)
 
+ifeq ($(OS_TARGET),WINCE)
+OS_DLLFLAGS = -nologo -DLL -SUBSYSTEM:WINDOWSCE,3.00 -PDB:NONE -MACHINE:IX86 -ENTRY:_DllMainCRTStartup -STACK:0x10000,0x1000
+else
 OS_DLLFLAGS = -nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE
+endif
\ No newline at end of file
--- a/configure
+++ b/configure
@@ -3884,17 +3884,21 @@ EOF
     else
         CPU_ARCH_TAG=$CPU_ARCH
     fi
 
     if test -n "$USE_DEBUG_RTL"; then
         OBJDIR_SUFFIX=OBJD
     fi
 
-    OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE'
+    if test "$OS_TARGET" = "WINCE"; then
+        OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWSCE,3.00 -PDB:NONE -MACHINE:IX86 -ENTRY:_DllMainCRTStartup -STACK:0x10000,0x1000'
+    else
+        OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE'
+    fi
 
     case "$OS_TARGET" in
     WINNT)
 	    MDCPUCFG_H=_winnt.cfg
 	    ;;
     WIN95)
 	    MDCPUCFG_H=_win95.cfg
 	    ;;
--- a/configure.in
+++ b/configure.in
@@ -1288,17 +1288,21 @@ case "$target" in
     else
         CPU_ARCH_TAG=$CPU_ARCH
     fi
 
     if test -n "$USE_DEBUG_RTL"; then
         OBJDIR_SUFFIX=OBJD
     fi
 
-    OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE'
+    if test "$OS_TARGET" = "WINCE"; then
+        OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWSCE,3.00 -PDB:NONE -MACHINE:IX86 -ENTRY:_DllMainCRTStartup -STACK:0x10000,0x1000'
+    else
+        OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE'
+    fi
 
     case "$OS_TARGET" in
     WINNT)
 	    MDCPUCFG_H=_winnt.cfg
 	    ;;
     WIN95)
 	    MDCPUCFG_H=_win95.cfg
 	    ;;