comparison auto/cc/msvc @ 489:549994537f15 NGINX_0_7_52

nginx 0.7.52 *) Feature: the first native Windows binary release. *) Bugfix: in processing HEAD method while caching. *) Bugfix: in processing the "If-Modified-Since", "If-Range", etc. client request header lines while caching. *) Bugfix: now the "Set-Cookie" and "P3P" header lines are hidden in cacheable responses. *) Bugfix: if nginx was built with the ngx_http_perl_module and with a perl which supports threads, then during a master process exit the message "panic: MUTEX_LOCK" might be issued. *) Bugfix: nginx could not be built --without-http-cache; the bug had appeared in 0.7.48. *) Bugfix: nginx could not be built on platforms different from i386, amd64, sparc, and ppc; the bug had appeared in 0.7.42.
author Igor Sysoev <http://sysoev.ru>
date Mon, 20 Apr 2009 00:00:00 +0400
parents 6866b490272e
children 829f9a66a659
comparison
equal deleted inserted replaced
488:eb4fdebda673 489:549994537f15
49 # optimize for Pentium 4, MSVC 7 49 # optimize for Pentium 4, MSVC 7
50 CPU_OPT="-G7" 50 CPU_OPT="-G7"
51 ;; 51 ;;
52 esac 52 esac
53 53
54 # __cdecl, use with OpenSSL, md5 asm, and sha1 asm 54 # __cdecl, default, must be used with OpenSSL, md5 asm, and sha1 asm
55 #CPU_OPT="$CPU_OPT -Gd" 55 #CPU_OPT="$CPU_OPT -Gd"
56 # __stdcall 56 # __stdcall
57 #CPU_OPT="$CPU_OPT -Gz" 57 #CPU_OPT="$CPU_OPT -Gz"
58 # __fastcall 58 # __fastcall
59 CPU_OPT="$CPU_OPT -Gr" 59 #CPU_OPT="$CPU_OPT -Gr"
60 60
61 61
62 CFLAGS="$CFLAGS $CPU_OPT" 62 CFLAGS="$CFLAGS $CPU_OPT"
63 63
64 64
84 # however, MSVC Toolkit 2003 has no MSVCRT.LIB 84 # however, MSVC Toolkit 2003 has no MSVCRT.LIB
85 #LIBC="-MD" 85 #LIBC="-MD"
86 86
87 CFLAGS="$CFLAGS $LIBC" 87 CFLAGS="$CFLAGS $LIBC"
88 88
89 CORE_LIBS="$CORE_LIBS kernel32.lib user32.lib"
90
89 # Win32 GUI mode application 91 # Win32 GUI mode application
90 CORE_LIBS="$CORE_LIBS kernel32.lib user32.lib" 92 #CORE_LINK="$CORE_LINK -subsystem:windows -entry:mainCRTStartup"
91 CORE_LINK="$CORE_LINK -subsystem:windows -entry:mainCRTStartup"
92 93
93 # debug 94 # debug
95 # msvc8 under Wine issues
96 # Program database manager mismatch; please check your installation
94 if [ $NGX_CC_NAME != msvc8 ]; then 97 if [ $NGX_CC_NAME != msvc8 ]; then
95 CFLAGS="$CFLAGS -Zi" 98 CFLAGS="$CFLAGS -Zi"
96 CORE_LINK="$CORE_LINK -debug" 99 CORE_LINK="$CORE_LINK -debug"
100 fi
101
102
103 # MSVC 2005 supports C99 variadic macros
104 if [ $NGX_CC_NAME = msvc8 ]; then
105 have=NGX_HAVE_C99_VARIADIC_MACROS . auto/have
97 fi 106 fi
98 107
99 108
100 # precompiled headers 109 # precompiled headers
101 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch" 110 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch"