comp.lang.ada
 help / color / mirror / Atom feed
* static vs dynamic linking with GNAT
@ 1996-06-25  0:00 Ken Slater
  1996-07-02  0:00 ` Paul D. Stachour
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Slater @ 1996-06-25  0:00 UTC (permalink / raw)



I am running GNAT on a Silicon Graphics (SGI) system using Irix 5.3.

We have built an executable on the host machine and want to also run on
a target machine on which GNAT has not been installed. The problem is
that the executable was linked with the shared library file
'libgnat.so', so when the executable is run on the target machine,
it looks for 'libgnat.so'.

Is there a way to force 'gcc' to link in the static libraries (libgnat.a).
I tried the '-static' option without success (I may have missed
something)?

Thanks.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-07-02  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-25  0:00 static vs dynamic linking with GNAT Ken Slater
1996-07-02  0:00 ` Paul D. Stachour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox