From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: Static linking of GNAT library
Date: 2000/08/24
Date: 2000-08-24T00:00:00+00:00 [thread overview]
Message-ID: <x7vn1i2moh0.fsf@pogner.demon.co.uk> (raw)
In-Reply-To: 3ibp5.5530$aE5.202411@news-east.usenetserver.com
colvert@elmco.com (Paul Colvert) writes:
> My assigned SG engineer wrote back to tell me that "if there is C code
> mixed in, then statically linking the files is impossible as of IRIX
> 6.5." Yes, we do have some C code linked in to our simulation. Does
> that mean I will be forced to distribute the shared object library?
> Some of our customers have the old Ada 95 1.3 compiler installed. I
> don't think I can have both libraries installed!
No. But (on other Unixes, I don't know IRIX) you can play with the
library path: either LD_LIBRARY_PATH, defined first --
LD_LIBRARY_PATH=/where/your/shared/library/is
export LD_LIBRARY_PATH
your_program
or perhaps LD_PRELOAD
LD_PRELOAD=/where/your/shared/library/is/libwhatever.so
export LD_PRELOAD
your_program
(both strongly affected by whether you are root/the program is setuid
root)
HTH
-Simon
next prev parent reply other threads:[~2000-08-24 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-23 0:00 Static linking of GNAT library colvert
2000-08-23 0:00 ` Stanley R. Allen
2000-08-24 0:00 ` Paul Colvert
2000-08-24 0:00 ` Simon Wright [this message]
2000-08-25 0:00 ` Gisle Sælensminde
2000-08-25 0:00 ` steve
2000-08-25 0:00 ` Tarjei T. Jensen
2000-08-26 1:29 ` Robert Dewar
2000-08-26 0:00 ` Larry Kilgallen
2000-08-30 0:00 ` colvert
2000-08-23 0:00 ` Ted Dennison
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox