can now link, woohoo WINCE_NSPRPUB_RELEASE_4_2_BETA1
authorblythe%netscape.com
Sat, 09 Feb 2002 00:27:59 +0000
branchWINCE_NSPRPUB_RELEASE_4_2_BETA1
changeset 2238 d41dc9f298edd11b05b963f8644d094a163a5f35
parent 2237 a9d30a2856a392805e0c62a6c0a203cfa5b0f04c
child 2239 9b3cf2f0c750383f82cdf2eda4f27f413ff86bad
push idunknown
push userunknown
push dateunknown
can now link, woohoo
config/WIN32.mk
configure
configure.in
--- a/config/WIN32.mk
+++ b/config/WIN32.mk
@@ -189,12 +189,12 @@ 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
+OS_DLLFLAGS = -nologo -DLL -SUBSYSTEM:WINDOWSCE,3.00 -MACHINE:IX86 -ENTRY:_DllMainCRTStartup -STACK:0x10000,0x1000 -NODEFAULTLIB:OLDNAMES.lib
 else
 OS_DLLFLAGS = -nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE
 endif
\ No newline at end of file
--- a/configure
+++ b/configure
@@ -3763,17 +3763,17 @@ EOF
 #define _DEBUG 1
 EOF
 
         else
             DEFINES="$DEFINES -U_DEBUG"
         fi
 
         if test "$OS_TARGET" = "WINCE"; then
-            DLL_LIBS="coredll.lib winsock.lib"
+            DLL_LIBS="corelibc.lib coredll.lib winsock.lib"
         fi
 
         if test -n "$MOZ_OPTIMIZE"; then
             if test "$OS_TARGET" = "WINCE"; then
                 CFLAGS="$CFLAGS -Zl"
             else
                 CFLAGS="$CFLAGS -MD"
             fi
@@ -3885,17 +3885,17 @@ EOF
         CPU_ARCH_TAG=$CPU_ARCH
     fi
 
     if test -n "$USE_DEBUG_RTL"; then
         OBJDIR_SUFFIX=OBJD
     fi
 
     if test "$OS_TARGET" = "WINCE"; then
-        OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWSCE,3.00 -PDB:NONE -MACHINE:IX86 -ENTRY:_DllMainCRTStartup -STACK:0x10000,0x1000'
+        OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWSCE,3.00 -MACHINE:IX86 -ENTRY:_DllMainCRTStartup -STACK:0x10000,0x1000 -NODEFAULTLIB:OLDNAMES.lib'
     else
         OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE'
     fi
 
     case "$OS_TARGET" in
     WINNT)
 	    MDCPUCFG_H=_winnt.cfg
 	    ;;
--- a/configure.in
+++ b/configure.in
@@ -1211,17 +1211,17 @@ case "$target" in
 
         if test -n "$MOZ_DEBUG"; then
             AC_DEFINE(_DEBUG)
         else
             DEFINES="$DEFINES -U_DEBUG"
         fi
 
         if test "$OS_TARGET" = "WINCE"; then
-            DLL_LIBS="coredll.lib winsock.lib"
+            DLL_LIBS="corelibc.lib coredll.lib winsock.lib"
         fi
 
         if test -n "$MOZ_OPTIMIZE"; then
             if test -n "$OS_TARGET" = "WINCE"; then
                 CFLAGS="$CFLAGS -Zl"
             else
                 CFLAGS="$CFLAGS -MD"
             fi
@@ -1289,17 +1289,17 @@ case "$target" in
         CPU_ARCH_TAG=$CPU_ARCH
     fi
 
     if test -n "$USE_DEBUG_RTL"; then
         OBJDIR_SUFFIX=OBJD
     fi
 
     if test "$OS_TARGET" = "WINCE"; then
-        OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWSCE,3.00 -PDB:NONE -MACHINE:IX86 -ENTRY:_DllMainCRTStartup -STACK:0x10000,0x1000'
+        OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWSCE,3.00 -MACHINE:IX86 -ENTRY:_DllMainCRTStartup -STACK:0x10000,0x1000 -NODEFAULTLIB:OLDNAMES.lib'
     else
         OS_DLLFLAGS='-nologo -DLL -SUBSYSTEM:WINDOWS -PDB:NONE'
     fi
 
     case "$OS_TARGET" in
     WINNT)
 	    MDCPUCFG_H=_winnt.cfg
 	    ;;