mirror of
https://github.com/simh/simh.git
synced 2026-03-02 17:55:17 +00:00
makefile: Add support for building all simulators on illumos (Open Indiana)
- Proper compiler detection selects 64bit libraries when gcc generates 64bit code. Fix #1237
This commit is contained in:
@@ -112,6 +112,7 @@ Simulator binaries for x86 Linus, x86 macOS, and Windows for all recent changes
|
||||
- Enhanced Ethernet functionality on macOS which leverages the OS provided vmnet capabilities. This is available on all intel and Apple Silicon macOS systems starting with Catalina (10.15) which was released in 2019.
|
||||
- SCP IF command supports RegEx comparisons.
|
||||
- Windows builds are supported running all versions of Microsoft Visual Studio, including the most recent VS2026.
|
||||
- All simulators build with full functionality on illumos Open Indiana.
|
||||
|
||||
#### All simulators build cleanly under OpenVMS on ia64 systems.
|
||||
|
||||
|
||||
5
makefile
5
makefile
@@ -632,7 +632,10 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
|
||||
ifeq (SunOS,$(OSTYPE))
|
||||
OSNAME = Solaris
|
||||
ifneq (lib,$(findstring lib,$(UNSUPPORTED_BUILD)))
|
||||
LIBPATH := $(shell LANG=C; crle | grep 'Default Library Path' | awk '{ print $$5 }' | sed 's/:/ /g')
|
||||
ifneq (,$(shell gcc -dumpmachine 2>&1 | grep 64))
|
||||
_LIB64 := -64
|
||||
endif
|
||||
LIBPATH := $(shell LANG=C; crle $(_LIB64) | grep 'Default Library Path' | awk '{ print $$5 }' | sed 's/:/ /g')
|
||||
endif
|
||||
LIBEXT = so
|
||||
OS_LDFLAGS += -lsocket -lnsl
|
||||
|
||||
Reference in New Issue
Block a user