This is pure speculation, as I do not have direct access to linux.
Without dynamic loading, I believe you can use

GRAPHSYS = X11WINDOWS
X11INCDIR_FLAG=
X11LIBDIR_FLAG=

UCFLAGS = -O
ULDFLAGS =

EXTRALIBS=
EXTRAOBJS=

IEEE_FLAG=-DIEEEFP
ANSI_FLAG=-DANSI

FOREIGN_FLAG =
FOREIGN_FILE = dummy-foreign.h

CC = cc
LDCC = $(CC)


If you have the linux version of the dld dynamic loading library
installed in an accessible place, you can use

MACHINE=linux
FOREIGN_FLAG = -DFOREIGNCALL
FOREIGN_FILE = dld-foreign.h
EXTRALIBS=-ldld

This library is available on tsx-11.mit.edu in
/pub/linux/sources/libs/dld-src-3.2.4.tar.gz.

I have not tested this code, since I don't have access to a system
where dld works properly (it doesn't seem to work properly on SunOS
4.1).

The configure script will check for the dld library and try to use it
if it is found. For this to work, the library must be in a place that
is found by a -ldld argument to cc.

One problem people have run into is a crash on initialization which is
due to the fact that by default Linux generates floating point
exceptions for computations that produce infinities or nan's. I have
added code to X11BSDstuff.c and unixstuff.x that should cure these
problems.  The code is contained in two ifdef's for linux. Thanks to
Bernhard Walter (walter@pollux.edv.agrar.tu-muenchen.de) and Gary
Houston (ghouston@actrix.gen.nz) for help with this.

