mirror of
https://github.com/open-simh/simh.git
synced 2026-05-03 14:49:02 +00:00
Updated Windows Network build (in makefile and Visual Studio Projects) to reference WinPcap and pthreads in a consistent parallel directory to the simulator source (i.e. ../windows-build/...).
Updated Ethernet Documentation (in 0readme_ethernet.txt and sim_ether.c) to describe the proper build mechanics on both Windows and *nix platforms.
This commit is contained in:
@@ -4,8 +4,10 @@ Visual Studio Express 2010) it populates a directory tree under the BIN
|
||||
directory of the Simh distribution for temporary build files and produces
|
||||
resulting executables in the BIN/NT/Win32-Debug or BIN/NT/Win32-Release
|
||||
directories (depending on whether you target a Debug or Release build).
|
||||
It expects that a winpcap developer pack zip file is expanded in a directory
|
||||
parallel to the simh directory.
|
||||
|
||||
The Visual Studio Projects expect that a winpcap developer pack and the
|
||||
Posix threads for windows package are available in a directory parallel
|
||||
to the simh directory.
|
||||
|
||||
For Example, the directory structure should look like:
|
||||
|
||||
@@ -14,34 +16,12 @@ For Example, the directory structure should look like:
|
||||
.../simh/simhv38-2-rc1/Visual Studio Projects/simh.sln
|
||||
.../simh/simhv38-2-rc1/Visual Studio Projects/VAX.vcproj
|
||||
.../simh/simhv38-2-rc1/BIN/Nt/Win32-Release/vax.exe
|
||||
.../simh/winpcap/WpdPack/Include/pcap.h
|
||||
.../simh/windows-build/pthreads/pthread.h
|
||||
.../simh/windows-build/winpcap/WpdPack/Include/pcap.h
|
||||
|
||||
The contents of the windows-build directory can be downloaded from:
|
||||
|
||||
The winpcap developer pack can be found at:
|
||||
http://www.winpcap.org/devel.htm
|
||||
|
||||
The latest version of the WinPcap developer's pack is Version 4.1.2
|
||||
|
||||
Some features can be enabled if the pthreads API is available and contained
|
||||
also in a parallel place in the directory structure.
|
||||
|
||||
|
||||
.../simh/pthreads/Pre-built.2/include/include/pthreads.h
|
||||
|
||||
|
||||
To install pthreads API, create the directory:
|
||||
|
||||
.../simh/pthreads/
|
||||
|
||||
download the file:
|
||||
ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-8-0-release.exe
|
||||
to that directory and execute it. Click on the Extract button.
|
||||
Once installed, When running a simulator with pthreads support enabled, you
|
||||
will need a copy of the DLL file (simh\pthreads\Pre-built.2\lib\pthreadVC2.dll)
|
||||
to exist in either the %windir%\System32 directory (or %windir%\SysWOW64 on
|
||||
x64 Windows environments) or your working directory while running a simh
|
||||
simulator. The default working directory for included project files is the
|
||||
"Visual Studio Projects" directory.
|
||||
https://github.com/downloads/markpizz/simh/windows-build.zip
|
||||
|
||||
|
||||
Network devices are capable of using pthreads to enhance their performance.
|
||||
@@ -56,3 +36,5 @@ the simulators which have such devices are VAX, VAX780 and PDP11. To
|
||||
achieve these benefits the simulators must be built with SIM_ASYNCH_IO
|
||||
defined.
|
||||
|
||||
The project files in this directory build these simulators with support for
|
||||
both network and asynchronous I/O.
|
||||
|
||||
Reference in New Issue
Block a user