[gtkada] Porting GtkAda to Rational

Roy M. Bell rmbell at acm.org
Tue Nov 13 13:28:41 CET 2001


  Hicks, Lawrence D wrote:

>I am attempting to port GtkAda from GNAT to the Apex Ada95 compiler
>developed by the Rational Corporation on an SGI IRIX 6.5 computer system.
>It was straight forward to modify the few Ada packages to remove the GNAT
>calls and replace them with POSIX call. 
>

This is great. Can you post the diffs? What version of Apex are you 
using? I would like to run GtkAda on Solaris 2.7. We are still using 
Apex 3.2, but hope to migrate to Apex 4.0.


>I am able to compile and link the
>'simple' example program included with GtkAda, but get unresolved symbols in
>libtkada-1.2.so.11 during run time.  I did set the path to the directory
>'setenv LD_LIBRARY_PATH /new_tools/gnat/GtkAda/lib'. Here are a few of the
>unresolved symbols that I get:
>_gnat_malloc
>ada_numerics_elementary_functions
>ada__tags_external_tag_htable__setXn
>_gnat_raise_exception
>

On Solaris these symbols are found in libgnat.a. There must be a 
libgnat.so for SGI located somewhere in the gnat distribution. You can 
either put it in your library path or specify it explicly in the view 
switches. I think the name of the switch is something like 
"non_ada_linking".

>
>   In need of help
>    Larry Hicks
>

-- Roy M. Bell
-- rmbell at acm.org





More information about the gtkada mailing list