GNU Sather 1.2.3 on current Fedora

This package provides the serial Linux compiler and standard library.
The compiler emits GNU C17 and invokes GCC and make. The garbage collector
headers are needed when compiling Sather programs, hence gc-devel is a runtime
dependency of this development tool.

Compile a program with:
    sacomp hello.sa -o hello
    ./hello
Use -chk to enable Sather runtime checks, or -O_fast for optimization.
Normal sacomp invocations suppress C warnings with gcc -w, as in the
original package. Sather diagnostics remain visible. To inspect C warnings,
generate the C files and invoke make with CC=gcc. The RPM build and its tests
override CC=gcc and retain all Fedora warning and hardening flags.
Use -C_flag to pass additional C compiler flags. Generated Makefiles support
CFLAGS, CPPFLAGS and LDFLAGS overrides, for example:
    sacomp hello.sa -only_C -o hello
    make -C hello.code CFLAGS='-O2 -g -std=gnu17' LDFLAGS='-Wl,-z,now'

The installed serial library includes the pSather placeholder classes, which
are required by the compiler even for serial programs. The parallel runtime,
prebuilt libraries, historical non-Linux platforms, experimental sockets,
and vendored regex implementation are not installed.
Regular expressions use the system POSIX regex implementation.

SATHER_HOME defaults to the installed architecture-specific Sather directory.
An explicit SATHER_HOME selects another installation, including its compiler.
SATHER_LIBRARY and SATHER_PLATFORM retain their normal upstream meanings.

The C17 port fixes iterator quit returns, floating-point classification,
negative cube roots, normal/subnormal limits, bit-access aliasing, substring(0),
reflection/debugger C17 declarations and 64-bit layouts, regex
allocation cleanup, and Unix socket framing/readiness for 64-bit hosts.
The socket protocol uses a four-byte unsigned network-order length followed by
that many bytes. Old 64-bit builds that incorrectly sent eight-byte lengths
must be upgraded together. The length is restricted to the Sather INT range.

The RPM build runs the serial library tests, dedicated C17/numeric/iterator
regressions, POSIX regex tests, reflection tests, and local socket protocol tests.
Tcl callbacks and browser parsing are tested without a display. GUI smoke tests
run under Xvfb and cover widgets, raster drawing, the source browser and object/
frame/stack inspection with the graphical debugger. Use --without gui_tests
only when the builder prohibits X11/Unix sockets; run the GUI tests separately.
The optional parallel runtime is tested separately as described below.

Optional GUI packages
---------------------
sather-tcltk provides Tcl/Tk 9 bindings, single/dual-process widgets and the
POG object/frame/stack debugger. It requires the system Tcl/Tk and X11 headers
because sacomp compiles these runtime sources when building GUI applications.
The obsolete vendored Tcl/Tk 7/4 startup scripts are not installed.

sather-browser adds sabrowse. With no arguments, it opens the standard library;
with source/module arguments, it browses those files. The browser supports
libraries without a MAIN class. Font selection uses available Tk named fonts.

Compile GUI programs using -tcltk or -gui, and debugger-enabled programs using
-debug_graphical. From gdb, POG(object), PFG(frame), and PTG(frame) open the
object, frame and stack views. Select Resume gdb to return to the program.
The dual-process debugger currently uses GUI_ASYNCH and GUI_SYNCH Unix sockets
in its working directory. Use a private directory for each concurrent session.
The INET transport is legacy code and has not been validated by this port.

When building the source outside RPM, run sh System/Platforms/tcltk/configure.sh
once to generate flags for the installed Tcl/Tk 9 and X11 libraries.

Parallel Sather on Linux
-----------------------
sather-psather provides the linux/pthread platform and pLibrary. Compile with:
    sacomp -linux/pthread program.sa -o program
    ./program
It uses POSIX threads, C17 atomics, semaphores built from pthread mutexes and
condition variables, and the system Boehm collector. Completion locks support
release by another thread, as required by the pSather runtime. Thread-local
runtime state and pending fork arguments remain visible to the collector.

The supported model is a single shared-memory cluster on a Linux machine.
Historical 32-bit context-switch libraries and Active Threads are not used.
Distributed multi-machine clusters are not provided by this package.
PSATHER_THREADS=1..32 sets the size of the legacy parallel-loop worker pool;
the default is the available CPU count, capped at 32. Ordinary forks create
POSIX threads independently of that pool. Program termination waits for user
threads before waking and joining the internal worker threads.

The package tests the pSather lock/barrier/future/exception suites, a 12,000-
iteration parallel loop, a contended counter, distinct thread IDs and concurrent
forced collections with one and four workers. A native backend test also checks
simultaneously live OS threads, cross-thread completion, bulk transfers,
read/write locks, delayed callbacks and five-argument fork handlers.

Emacs integration and documentation
-----------------------------------
The main RPM includes sather-mode and sather-module-mode as auxiliary editor
support. Both Lisp sources and bytecode are installed in the package-owned
Emacs site-lisp/sather directory. A lightweight site-start file registers
.sa/.psa and .module/.pmodule autoloads. Only emacs-filesystem is required;
install Emacs itself when you want to use the modes. The modes provide
syntax highlighting, syntax-aware indentation, definition navigation, Imenu,
and compilation diagnostics. Their regression tests run during the RPM build.
See the installed Emacs README for customization and compatibility notes.

All five upstream PostScript manuals are converted with ps2pdf in the RPM
build and installed as PDF documentation in the main package. Fonts are
embedded, and the original Letter page size is retained. The manuals describe
the historical language and tools; conversion does not update their contents.
Doc/Packaging describes the supported platforms and current packaging choices.
FAQ, Bugs, News and Changes retain the upstream historical information.
