[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

822.0. "F77 Xlib progs on Ds3100" by 42721::BULLARD (Play it again,SAMS) Tue May 23 1989 17:17

    Has anyone got any experiences or examples of Xlib programs written
    in F77 on the Pmax.I am having problems with the linking of my program.
    Every X$xxxx call is thrown out as undefined.I am linking against
    /usr/lib/libdwtF77.a and /usr/lib/libX11F77.a and /usr/lib/libX11.a.
    I  also have assume that I must use the VAX binding for the calls,if
    not where are the routine names documented. 
    	A simple example with the appropriate link and compile commands
    or Mmakefile would be ideal.
    
    
    regards Mark

T.RTitleUserPersonal
Name
DateLines
822.1FLUME::dikeTue May 23 1989 20:384
There are no X$GAG_BARF_BLETCH (or DWT$..., for that matter) calls on the PMAX.
You have to use the MIT bindings.
				Jeff

822.2ORPHAN::WINALSKIPaul S. WinalskiWed May 24 1989 05:107
RE: .1

I thought we were making both sets of bindings available on all platforms.
What happened?

--PSW

822.3Mit binding does the same?42721::BULLARDPlay it again,SAMSWed May 24 1989 10:0117
    
                           -< Same problem with MIT binding >-
    
        I have tried the MIT bindings but every X... reference is thrown
        out as undefined.
            This is the command that my Makefile executes:-
    
        f77 -c -O -I. -I/usr/include/X11 -I/usr/include
        f77 -O -I. -I/usr/include/X11 -I/usr/include -o window window.o
            /usr/lib/libdwt.a /usr/lib/libX11.a /usr/lib/libX11F77.a -lm
    
        Are there any obvious errors here?
    
        regards Mark
                                
    

822.4FLUME::dikeWed May 24 1989 13:3111
Try
f77 -O -I. -I/usr/include/X11 -I/usr/include -o window window.o
            -ldwt -lX11F77 -lX11 -lm

libX11F77.a refers contains references into libX11.a, so it has to come before
libX11.a.

Providing the VMS bindings on PMAX would have taken more time than we had to
play with at the time.
				Jeff