[comp.windows.x] ADA applications on Apollo

donnelly%asd.span@VLSI.JPL.NASA.GOV (10/05/88)

     Has anyone worked the problem of using the Ada bindings on Apollo
with the Alsys compiler?  We're trying to get started in sw development in X
writing Ada applications and using the xlib in C.  Using the Alsys compiler 
we can generate the Ada object code for the hello world but the bind cmd
generate MANY undefined globals, ie all the X procedures.  

     The interface_name pragma supplied by Alsys does not map case sensitive
names for the binder when searching C object code libraries, thus all the
procedures within the Ada bindings are reported as undefined by the bind cmd.

bertrand@cui.UUCP (IBRAHIM Bertrand) (10/12/88)

I am not familiar with Alsys Ada, but I'm using the Ada-X11 bindings
with Verdix Ada on a SUN. What you need is find a way to tell your
environment to link the xlib code with your program. With Verdix, there
is an "a.info -i" command that lets you specify arguments like "-lX11" 
that will be passed to the linker.

Hope this helps,

B.Ibrahim