# CONFIGURATION FILE FOR iBCS

# Edit, make clean, make install


# SOCKSYS_MAJOR is the major number to use for the /dev/socksys socket
# interface to streams based TCP/IP (i.e. Lachman as used by many SVR3s).
# Setting this to zero tells the module initialisation code to attempt
# to auto allocate the next available major number. This is supported
# by later 1.1 kernels. It is however not a good idea to try it unless
# there is kernel support for it!
#
# You also need to create the some devices, e.g.:
#
#	mknod /dev/socksys c <n> 0
#	ln -s /dev/socksys /dev/nfsd
#	mknod /dev/inet/arp c <n> 2
#	mknod /dev/inet/icmp c <n> 2
#	mknod /dev/inet/ip c <n> 2
#	mknod /dev/inet/rip c <n> 2
#	mknod /dev/inet/tcp c <n> 3
#	mknod /dev/inet/udp c <n> 2
#	ln -s /dev/null /dev/X0R
#	mknod /dev/spx c <n> 1
#
# where <n> is the chosen major number. If you are using auto allocation
# you should use a 2.0 or later version of /dev/MAKEDEV and run a
# 'cd /dev ; sh MAKEDEV update' after loading the iBCS module. Note
# that at least one version of MAKEDEV create /dev/XOR instead of /dev/X0R.

SOCKSYS_MAJOR=30


# The following emulations are provided. Select those which you wish
# the emulator to support.
# (You currently can't avoid much of the SVR4/SVR3/SCO... emulation)
#
# EMU_SCO		SCO specifics
# EMU_ISC		ISC specifics
# EMU_SVR4		SVR4 specifics
# EMU_BSD		BSD emulator.
# EMU_WYSE		Wyse V/386 specifics.
# EMU_WYSEMP		Wyse V/386 MP extensions (Wyse 9000i etc.)
# EMU_X286		Xenix 286 emulator.
#
# EMU_XTI		STREAMS based XTI/TLI TCP/IP interface
#

EMU_SCO		= yes
EMU_ISC		= yes
EMU_SVR4	= yes
EMU_BSD		= yes
EMU_WYSE	= yes
EMU_WYSEMP	= yes
EMU_X286	= yes
EMU_XTI		= yes


# Binary formats to support.
#
# ELF is used by SVR4 (UnixWare, Dell etc.) however the ELF loader is part
# of later Linux kernels (1.1.54+). If you have kernel support for ELF
# binaries you don't need it in the emulator as well.
#
# COFF is used by SVR3 (SCO, Wyse V/386) however many SVR4 systems may
# also include older COFF binaries and many applications are sold as
# COFF binaries since they may run on more platforms.
#
# XOUT is used by Xenix (both 386 and 286) however many SVR3 (and even
# SVR4 systems) still have old XOUT binaries on them. Such programs
# were often written with 286 segmentation assumed and are too much
# trouble to port to a flat address space.
#
EMU_BINFMT_ELF	= no
EMU_BINFMT_COFF	= yes
EMU_BINFMT_XOUT	= yes


# The following debugging options are available:
#
# Note that debugging support is *very* useful for finding application
# bugs not just emulator bugs. However enabling all the debug options
# will make the emulator 3-4 pages (1 page = 4k) bigger which may be
# a significant difference for some.
#
# IBCS_TRACE		Add code to trace the iBCS emulator. See the Tools
#			subdirectory for a program that can be used to set
#			the tracing level.
#
# VERBOSE_ERRORS	Give textual error message as well as number in
#                       the trace log. (This only makes sense if IBCS_TRACE
#                       is also defined)
#
# COFF_TRACE		Add code to trace the COFF loader. This is useful
#			if you have executables are not recognised correctly.
#
# XOUT_DEBUG		Add code to trace the XOUT loader.
#
IBCS_TRACE	= yes
VERBOSE_ERRORS	= yes
COFF_TRACE	= yes
XOUT_DEBUG	= yes
