[comp.lang.modula3] X11R4 interface ?

uh311ae@sunmanager.lrz-muenchen.de (Henrik Klagges) (03/11/91)

Hello !
I wonder wether anyone has written some wrappers for Xlib/Xt.
I would be glad if I did not have to reinvent the wheel.


Thank You. Rick@vee.lrz-muenchen.de

muller@src.dec.com (Eric Muller) (03/12/91)

In article <uh311ae.668701609@sunmanager>, Henrik Klagges asks:

> I wonder wether anyone has written some wrappers for Xlib/Xt.

SRC Modula-3 provides the libm3X{11,t,aw}.a libraries that contain
binding interfaces to X11R4. Using a standard installation, just
import the appropriate interfaces in your program (see
$(PREFIX)/lib/m3/X*); no need to mention the search path for the
interfaces, they are built in the driver. To link you program, add the
appropriate subset of "-lm3Xaw -lm3Xt -lm3X11"; the driver knows where
to find these libraries.

-- 
Eric.