[comp.windows.x] X11R3 Libraries and ATT XWIN

martin@zeus.hf.intel.com (Martin Wilde) (08/02/89)

There has been alot of questions asked to the net recently about X11R3 working
with the AT&T XWIN product.  I would like to answer some of those questions.

I have had no problems using the X11R3 libraries with the XWIN X11R2 server.
I took the MIT X11R3 toolkits and recompiled them with the XWIN product and
the two have been working together for about 5 months now (thanks MIT for
not changing the protocol).  

I have had no problems using the HP toolkit that was present on the MIT R3 tape
with the XWIN product.

I have not tried to compile the basic Xlib from R3 with the XWIN product, but I
assume that most of the basic libraries (non-BSD and non-hardware specific) routines
would work.

The following picture shows how I set up my directories to use the R3 stuff
with the XWIN package.


                                   /usr/X
                                     |
                   ---------------------------------------------
                   |                 |                         |
                  bin             include                     lib
                                     |                         |
                         ------------------------             Xr3
                        |            |          |
                       X11          Xr3         Xw   
                                     |
                                    X11      



To compile an application that uses the X11R3 toolkits:

    cc -I/usr/X/include/Xr3 -I/usr/X/include -c app.c

To link:

   cc -o app app.o /usr/X/lib/Xr3/libXt.a ........


Hopefully this will clear up some of the questions concerning applications
using X11R3 toolkits and the AT&T XWIN server.

                          
                  _/_          |
 ______  __.  __  /  o ____    |  textronix!reed!littlei!zeus:martin
/ / / <_(_/|_/ (_<__<_/ / <    |
                               |  martin@clubmed.hf.intel.com
                               |