1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

remove vc6.0 support

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@130 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2007-09-19 12:03:09 +00:00
parent 6ae00e4143
commit 91f0c4bec0
9 changed files with 5 additions and 38 deletions

View File

@ -63,11 +63,6 @@ choice
depends on CONFIG_PLATFORM_WIN32 depends on CONFIG_PLATFORM_WIN32
default CONFIG_VISUAL_STUDIO_7_0 default CONFIG_VISUAL_STUDIO_7_0
config CONFIG_VISUAL_STUDIO_6_0
bool "Visual Studio 6.0 (VC98)"
help
Use Microsoft's Visual Studio 6.0 platform.
config CONFIG_VISUAL_STUDIO_7_0 config CONFIG_VISUAL_STUDIO_7_0
bool "Visual Studio 7.0 (2003)" bool "Visual Studio 7.0 (2003)"
help help
@ -80,11 +75,6 @@ config CONFIG_VISUAL_STUDIO_8_0
endchoice endchoice
config CONFIG_VISUAL_STUDIO_6_0_BASE
string "Base"
depends on CONFIG_VISUAL_STUDIO_6_0
default "c:\\Program Files\\Microsoft Visual Studio"
config CONFIG_VISUAL_STUDIO_7_0_BASE config CONFIG_VISUAL_STUDIO_7_0_BASE
string "Base" string "Base"
depends on CONFIG_VISUAL_STUDIO_7_0 depends on CONFIG_VISUAL_STUDIO_7_0

View File

@ -12,10 +12,8 @@ CONFIG_PLATFORM_LINUX=y
# #
PREFIX="/usr/local" PREFIX="/usr/local"
# CONFIG_DEBUG is not set # CONFIG_DEBUG is not set
# CONFIG_VISUAL_STUDIO_6_0 is not set
# CONFIG_VISUAL_STUDIO_7_0 is not set # CONFIG_VISUAL_STUDIO_7_0 is not set
# CONFIG_VISUAL_STUDIO_8_0 is not set # CONFIG_VISUAL_STUDIO_8_0 is not set
CONFIG_VISUAL_STUDIO_6_0_BASE=""
CONFIG_VISUAL_STUDIO_7_0_BASE="" CONFIG_VISUAL_STUDIO_7_0_BASE=""
CONFIG_VISUAL_STUDIO_8_0_BASE="" CONFIG_VISUAL_STUDIO_8_0_BASE=""
CONFIG_EXTRA_CFLAGS_OPTIONS="" CONFIG_EXTRA_CFLAGS_OPTIONS=""

View File

@ -31,12 +31,6 @@ all:
# Win32 # Win32
ifdef CONFIG_PLATFORM_WIN32 ifdef CONFIG_PLATFORM_WIN32
ifdef CONFIG_VISUAL_STUDIO_6_0
CONFIG_VISUAL_STUDIO_6_0_BASE_UNIX:=$(shell cygpath -u $(CONFIG_VISUAL_STUDIO_6_0_BASE))
export INCLUDE=$(shell echo "$(CONFIG_VISUAL_STUDIO_6_0_BASE)\vc98\Include")
export LIB=$(shell echo "$(CONFIG_VISUAL_STUDIO_6_0_BASE)\vc98\Lib")
PATH:=$(CONFIG_VISUAL_STUDIO_6_0_BASE_UNIX)/common/msdev98/bin:$(CONFIG_VISUAL_STUDIO_6_0_BASE_UNIX)/vc98/bin:$(PATH)
else
ifdef CONFIG_VISUAL_STUDIO_7_0 ifdef CONFIG_VISUAL_STUDIO_7_0
CONFIG_VISUAL_STUDIO_7_0_BASE_UNIX:=$(shell cygpath -u $(CONFIG_VISUAL_STUDIO_7_0_BASE)) CONFIG_VISUAL_STUDIO_7_0_BASE_UNIX:=$(shell cygpath -u $(CONFIG_VISUAL_STUDIO_7_0_BASE))
export INCLUDE=$(shell echo "$(CONFIG_VISUAL_STUDIO_7_0_BASE)\vc7\include;$(CONFIG_VISUAL_STUDIO_7_0_BASE)\vc7\platformsdk\include") export INCLUDE=$(shell echo "$(CONFIG_VISUAL_STUDIO_7_0_BASE)\vc7\include;$(CONFIG_VISUAL_STUDIO_7_0_BASE)\vc7\platformsdk\include")
@ -52,13 +46,12 @@ stuff:
@echo $(INCLUDE) @echo $(INCLUDE)
endif endif
endif endif
endif
CC=cl.exe CC=cl.exe
LD=link.exe LD=link.exe
AXTLS_INCLUDE=$(shell cygpath -w $(AXTLS_HOME)) AXTLS_INCLUDE=$(shell cygpath -w $(AXTLS_HOME))
CFLAGS+=/nologo /W3 /D"WIN32" /D"_MBCS" /D"_CONSOLE" /D"_CRT_SECURE_NO_DEPRECATE" /FD /I"$(AXTLS_INCLUDE)crypto" /I"$(AXTLS_INCLUDE)ssl" /I"$(AXTLS_INCLUDE)config" /c CFLAGS+=/nologo /W3 /D"WIN32" /D"_MBCS" /D"_CONSOLE" /D"_CRT_SECURE_NO_DEPRECATE" /FD /I"$(AXTLS_INCLUDE)crypto" /I"$(AXTLS_INCLUDE)ssl" /I"$(AXTLS_INCLUDE)config" /c
LDFLAGS=/nologo /subsystem:console /machine:I386 Advapi32.lib LDFLAGS=/nologo /subsystem:console /machine:I386
LDSHARED = /dll LDSHARED = /dll
AR=lib /nologo AR=lib /nologo

View File

@ -17,10 +17,8 @@ PREFIX=""
# #
# Microsoft Compiler Options # Microsoft Compiler Options
# #
# CONFIG_VISUAL_STUDIO_6_0 is not set
# CONFIG_VISUAL_STUDIO_7_0 is not set # CONFIG_VISUAL_STUDIO_7_0 is not set
CONFIG_VISUAL_STUDIO_8_0=y CONFIG_VISUAL_STUDIO_8_0=y
CONFIG_VISUAL_STUDIO_6_0_BASE=""
CONFIG_VISUAL_STUDIO_7_0_BASE="" CONFIG_VISUAL_STUDIO_7_0_BASE=""
CONFIG_VISUAL_STUDIO_8_0_BASE="c:\\Program Files\\Microsoft Visual Studio 8" CONFIG_VISUAL_STUDIO_8_0_BASE="c:\\Program Files\\Microsoft Visual Studio 8"
CONFIG_EXTRA_CFLAGS_OPTIONS="" CONFIG_EXTRA_CFLAGS_OPTIONS=""

View File

@ -27,8 +27,8 @@
extern "C" { extern "C" {
#endif #endif
#include "os_port.h"
#include "config.h" #include "config.h"
#include "os_port.h"
/* enable features based on a 'super-set' capbaility. */ /* enable features based on a 'super-set' capbaility. */
#if defined(CONFIG_SSL_FULL_MODE) #if defined(CONFIG_SSL_FULL_MODE)

View File

@ -54,11 +54,11 @@ config CONFIG_HTTP_TIMEOUT
Set the timeout of a connection in seconds. Set the timeout of a connection in seconds.
menu "CGI" menu "CGI"
depends on !CONFIG_PLATFORM_WIN32
config CONFIG_HTTP_HAS_CGI config CONFIG_HTTP_HAS_CGI
bool "Enable CGI" bool "Enable CGI"
default y default y
depends on !CONFIG_PLATFORM_WIN32
help help
Enable the CGI capability. Not available on Win32 platforms. Enable the CGI capability. Not available on Win32 platforms.

View File

@ -234,15 +234,12 @@ config CONFIG_USE_DEV_URANDOM
config CONFIG_WIN32_USE_CRYPTO_LIB config CONFIG_WIN32_USE_CRYPTO_LIB
bool "Use Win32 Crypto Library" bool "Use Win32 Crypto Library"
default y if !CONFIG_VISUAL_STUDIO_6_0
default n if CONFIG_VISUAL_STUDIO_6_0
depends on CONFIG_PLATFORM_WIN32 depends on CONFIG_PLATFORM_WIN32
help help
Microsoft produce a Crypto API which requires the Platform SDK to be Microsoft produce a Crypto API which requires the Platform SDK to be
installed. It's used for the RNG. installed. It's used for the RNG.
This will be the default on most Win32 systems. If using Visual Studio This will be the default on most Win32 systems.
6.0, then the SDK containing the crypto libraries must be used.
config CONFIG_OPENSSL_COMPATIBLE config CONFIG_OPENSSL_COMPATIBLE
bool "Enable openssl API compatibility" bool "Enable openssl API compatibility"

View File

@ -44,7 +44,7 @@ endif
LIBMAJOR=$(BASETARGET).1 LIBMAJOR=$(BASETARGET).1
LIBMINOR=$(BASETARGET).1.2 LIBMINOR=$(BASETARGET).1.2
else else
TARGET1=$(AXTLS_HOME)/axtls.lib TARGET1=$(AXTLS_HOME)/$(STAGE)/axtls.lib
TARGET2=$(AXTLS_HOME)/$(STAGE)/axtls.dll TARGET2=$(AXTLS_HOME)/$(STAGE)/axtls.dll
STATIC_LIB=$(AXTLS_HOME)/$(STAGE)/axtls.static.lib STATIC_LIB=$(AXTLS_HOME)/$(STAGE)/axtls.static.lib
CRYPTO_PATH=$(AXTLS_HOME)\\crypto\\ CRYPTO_PATH=$(AXTLS_HOME)\\crypto\\

View File

@ -1,9 +0,0 @@
io.stdout:write"Content-type: text/html\n\n"
for i,v in pairs{"QUERY_STRING", } do
io.stdout:write (string.format ("%s = %s", v, os.getenv(v) or ' '))
end
io.stdout:write "<br>\n"
local post_data = io.stdin:read"*a"
io.stdout:write (string.format ("post_data = {%s}", post_data))