mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-26 04:01:44 +00:00
Fix various compiler warnings. Fix bug causing double free when a file isn't found. Fix bug using uninitialized variable parsing null filename. Fix bug causing crash when format 3 retrieval pointer encountered. Add support for readline (command line editing and history on Unix) Untangle NT I/O so it builds without the direct access SCSI API & works. Report errors as text messages everywhere. Add MSVC project files. Implement most of dir/full Partially implement XABITM Add help to command tables. Allow choice of VMS qualifiers or Unix options. mount /write // /dev/cdrom or mount -write /dev/cdrom Parse quoted strings as command parameters. Mount /write "/dev/cdrom" search [*...]*.txt "My words for you" Resolve command, parameter & qualifier ambiguity from tables. Consolidate the various makefiles into a common file with very small platform-specific wrappers. This simplifies maintenance. Add diskio module to allow easy access to .iso images and simulator files. Removes requirement for loop device or equivalent. Builds as a separate executable. Writes to the ODS2 volumes are broken.
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
ODS-2 builds on most platforms using the make utility.
|
|
|
|
Most of the make logic is in makefile.generic, which is
|
|
included by a platform-specific makefile.
|
|
|
|
The platform-specific files are:
|
|
makefile.unix -- Most Unix/Linux platforms
|
|
makefile.solaris -- Solaris
|
|
makefile.tru64 -- Tru64/DEC OSF/1
|
|
makefile.nt -- Windows NT
|
|
|
|
Select the appropriate platform file & review the definitions.
|
|
|
|
The easiest way to build ODS-2 is to softlink Makefile to
|
|
the platform file. For example:
|
|
ln -s makefile.unix Makefile
|
|
make clean && make
|
|
|
|
Alternatively, the following equivalent command can be used:
|
|
make -f makefile.unix clean && make -f makefile.unix
|
|
|
|
If your make doesn't support the "include" directive, you
|
|
can run makefile.generic manually. Instructions are in that file.
|
|
|
|
Copy the resulting object file to a convenient location on your path,
|
|
e.g. /usr/local/bin on unix, or add the build directory to the PATH
|
|
environment variable on windows.
|
|
|
|
If you need different definitions for another platform, please
|
|
add a new platform-specific file rather than changing makefile.generic.
|
|
|
|
On VMS, you can use the DCL command procedure build.com to build
|
|
with DECC or GCC, with
|
|
$ @build
|
|
|
|
build.com will automatically select decc,vaxc or gcc.
|
|
|
|
If you have MMS/mmk, use descrip.mms, with
|
|
$ mmk
|
|
To build with VAXC
|
|
$ mmk/macro=vaxc=1
|
|
|
|
|