mirror of
https://github.com/simh/simh.git
synced 2026-02-05 16:05:45 +00:00
makefile: Document supported build requirements and allow unsupported builds
Users wanting to build simulators with locally build dependent packages or packages provided by an unsupported package management system can override where this procedure looks for include files and/or libraries. Overrides can be specified by define exported environment variables or GNU make command line arguments which specify INCLUDES and/or LIBRARIES. Each of these, if specified, must be the complete list include directories or library directories that should be used with each element separated by colons. (i.e. INCLUDES=/usr/include/:/usr/local/include/:...) Binaries built with unsupported library components will have a 'unsupported' tag in the output of the SHOW VERSION command.
This commit is contained in:
21
README.md
21
README.md
@@ -374,6 +374,27 @@ See the 0readme_ethernet.txt file for details about the required network compone
|
||||
|
||||
The makefile provided requires GNU make, which is the default make facility for most systems these days. Any host system which doesn't have GNU make available as the default make facility may have it installed as 'gmake'. GNU make (gmake) is generally available an installation package for all current operating systems which have a package installation system.
|
||||
|
||||
##### Build Dependencies
|
||||
|
||||
Some simulators depend on external packages to provide the full scope of functionality they may be simulating. These additional external packages may or may not be included in as part of the standard Operating System distributions.
|
||||
|
||||
###### OS X - Dependencies
|
||||
|
||||
The MacPorts package manager is available to provide these external packages. Once MacPorts is installed, these commands will install the required dependent packages:
|
||||
|
||||
# port install vde2
|
||||
# port install libsdl2
|
||||
|
||||
###### Linux - Dependencies
|
||||
|
||||
Different Linux distributions have different package managment systems:
|
||||
|
||||
Ubuntu:
|
||||
|
||||
# apt-get install libpcap-dev
|
||||
# apt-get install vde2
|
||||
# apt-get install libsdl2
|
||||
|
||||
#### Windows
|
||||
|
||||
Compiling on windows is supported with recent versions of Microsoft Visual Studio (Standard or Express) and using GCC via the MinGW environment. Things may also work under Cygwin, but that is not the preferred windows environment. Not all features will be available as well as with either Visual Studio or MinGW.
|
||||
|
||||
Reference in New Issue
Block a user