Commit 32b1843e authored by Andy Polyakov's avatar Andy Polyakov
Browse files

Keep disclaming 16-bit support.

parent 87120097
Loading
Loading
Loading
Loading

bugs/VC16.bug

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
Microsoft (R) C/C++ Optimizing Compiler Version 8.00c

Compile with /O2 chokes the compiler on these files

crypto\md\md5_dgst.c		warning '@(#)reg86.c:1.26', line 1110
crypto\des\ofb64ede.c		warning '@(#)grammar.c:1.147', line 168
crypto\des\ofb64enc.c		warning '@(#)grammar.c:1.147', line 168
crypto\des\qud_cksm.c		warning '@(#)grammar.c:1.147', line 168
crypto\rc2\rc2ofb64.c		warning '@(#)grammar.c:1.147', line 168
crypto\objects\obj_dat.c	warning	'@(#)grammar.c:1.147', line 168
				fatal	'@(#)grammar.c:1.147', line 168
crypto\objects\obj_lib.c	warning	'@(#)grammar.c:1.147', line 168
				fatal	'@(#)grammar.c:1.147', line 168
ssl\ssl_auth.c			warning	'@(#)grammar.c:1.147', line 168
				fatal	'@(#)grammar.c:1.147', line 168

Turning on /G3 with build flags that worked fine for /G2 came up with
divide by zero errors in 'normal' code in speed.c :-(

ms/16all.bat

deleted100755 → 0
+0 −15
Original line number Diff line number Diff line
set OPTS=no_asm

perl Configure VC-WIN16
perl util\mkfiles.pl >MINFO
perl util\mk1mf.pl %OPTS% debug VC-WIN16 >d16.mak
perl util\mk1mf.pl %OPTS% VC-WIN16 >16.mak
perl util\mk1mf.pl %OPTS% debug dll VC-WIN16 >d16dll.mak
perl util\mk1mf.pl %OPTS% dll VC-WIN16 >16dll.mak
perl util\mkdef.pl 16 libeay > ms\libeay32.def
perl util\mkdef.pl 16 ssleay > ms\ssleay32.def

nmake -f d16.mak
nmake -f 16.mak
nmake -f d16dll.mak
nmake -f 16dll.mak
+0 −5
Original line number Diff line number Diff line
@@ -6,13 +6,8 @@ The results will be in the out directory.

These makefiles and def files were generated my typing

perl util\mk1mf.pl VC-MSDOS no-sock >ms/msdos.mak
perl util\mk1mf.pl VC-W31-32 >ms/w31.mak
perl util\mk1mf.pl VC-W31-32 dll >ms/w31dll.mak
perl util\mk1mf.pl VC-NT >ms/nt.mak
perl util\mk1mf.pl VC-NT dll >ms/ntdll.mak

perl util\mkdef.pl 16 crypto > ms/crypto16.def
perl util\mkdef.pl 32 crypto > ms/crypto32.def
perl util\mkdef.pl 16 ssl > ms/ssl16.def
perl util\mkdef.pl 32 ssl > ms/ssl32.def

ms/speed16.bat

deleted100755 → 0
+0 −38
Original line number Diff line number Diff line
set makefile=ms\dos.bat

perl Configure b
del tmp\*.obj
nmake -f %makefile%
nmake -f %makefile%
nmake -f %makefile%
out\ssleay version -v -b -f >speed.1
out\ssleay speed >speed.1l

perl Configure bl-4c-2c
del tmp\rc4*.obj tmp\bn*.obj tmp\md2_dgst.obj
nmake -f %makefile%
nmake -f %makefile%
nmake -f %makefile%
out\ssleay speed rc4 rsa md2 >speed.2l

perl Configure bl-4c-ri
del tmp\rc4*.obj
nmake -f %makefile%
nmake -f %makefile%
nmake -f %makefile%
out\ssleay speed rc4 >speed.3l

perl Configure b2-is-ri-dp
perl util\mk1mf.pl VC-MSDOS no-asm >m2
del tmp\i_*.obj tmp\rc4*.obj tmp\ecb_enc.obj tmp\bn*.obj
nmake -f m2
nmake -f m2
nmake -f m2
out\ssleay speed rsa rc4 idea des >speed.4l

type speed.1 >speed.log
type speed.1l >>speed.log
perl util\sp-diff.pl speed.1l speed.2l >>speed.log
perl util\sp-diff.pl speed.1l speed.3l >>speed.log
perl util\sp-diff.pl speed.1l speed.4l >>speed.log
+1 −42
Original line number Diff line number Diff line
@@ -26,15 +26,9 @@ $infile="MINFO";
	"VC-WIN32",   "Microsoft Visual C++ [4-6] - Windows NT or 9X",
	"VC-CE",   "Microsoft eMbedded Visual C++ 3.0 - Windows CE ONLY",
	"VC-NT",   "Microsoft Visual C++ [4-6] - Windows NT ONLY",
	"VC-W31-16",  "Microsoft Visual C++ 1.52 - Windows 3.1 - 286",
	"VC-WIN16",   "Alias for VC-W31-32",
	"VC-W31-32",  "Microsoft Visual C++ 1.52 - Windows 3.1 - 386+",
	"VC-MSDOS","Microsoft Visual C++ 1.52 - MSDOS",
	"Mingw32", "GNU C++ - Windows NT or 9x",
	"Mingw32-files", "Create files with DOS copy ...",
	"BC-NT",   "Borland C++ 4.5 - Windows NT",
	"BC-W31",  "Borland C++ 4.5 - Windows 3.1 - PROBABLY NOT WORKING",
	"BC-MSDOS","Borland C++ 4.5 - MSDOS",
	"linux-elf","Linux elf",
	"ultrix-mips","DEC mips ultrix",
	"FreeBSD","FreeBSD distribution",
@@ -125,25 +119,7 @@ $bin_dir=(defined($VARS{'BIN'}))?$VARS{'BIN'}:'';
$NT=0;

push(@INC,"util/pl","pl");
if ($platform eq "VC-MSDOS")
	{
	$asmbits=16;
	$msdos=1;
	require 'VC-16.pl';
	}
elsif ($platform eq "VC-W31-16")
	{
	$asmbits=16;
	$msdos=1; $win16=1;
	require 'VC-16.pl';
	}
elsif (($platform eq "VC-W31-32") || ($platform eq "VC-WIN16"))
	{
	$asmbits=32;
	$msdos=1; $win16=1;
	require 'VC-16.pl';
	}
elsif (($platform eq "VC-WIN32") || ($platform eq "VC-NT"))
if (($platform eq "VC-WIN32") || ($platform eq "VC-NT"))
	{
	$NT = 1 if $platform eq "VC-NT";
	require 'VC-32.pl';
@@ -165,23 +141,6 @@ elsif ($platform eq "BC-NT")
	$bc=1;
	require 'BC-32.pl';
	}
elsif ($platform eq "BC-W31")
	{
	$bc=1;
	$msdos=1; $w16=1;
	require 'BC-16.pl';
	}
elsif ($platform eq "BC-Q16")
	{
	$msdos=1; $w16=1; $shlib=0; $qw=1;
	require 'BC-16.pl';
	}
elsif ($platform eq "BC-MSDOS")
	{
	$asmbits=16;
	$msdos=1;
	require 'BC-16.pl';
	}
elsif ($platform eq "FreeBSD")
	{
	require 'unix.pl';
Loading