From: "Marc A. Criley" <mcqada@earthlink.net>
Subject: Re: Gnat 3.13p and shared libraries on HP-UX
Date: Sun, 08 Jul 2001 21:30:12 GMT
Date: 2001-07-08T21:30:12+00:00 [thread overview]
Message-ID: <3B48C44D.886CF16F@earthlink.net> (raw)
In-Reply-To: 93172edb.0107080156.22e37181@posting.google.com
Pierre Favier wrote:
>
> "Marc A. Criley" wrote:
> > I haven't done HP in a while, but isn't there supposed to be an -fPIC
> > option when compiling code that's going into shared libraries? Check
> > the "Creating an Ada Library" section of the GNAT User Guide. (I would,
> > though, drop the -O0 option since there's no benefit to doing that, and
> > -gnatf and -gnatwu have no effect on the generated code.)
> >
>
> It was a mistake on my part: I did compile with -fPIC. I also tried
> with -O2 with the same result.
>
> For further clarification, it is not the runtime I am trying to
> dynamically link in my program but libraries of code belonging to my
> application.
Yes, that's what I understood. Did you call adainit and adafinal?
(Just asking the obvious here...based on personal past experience :-)
Can you successfully build a small, test library to make sure that
works?
Marc
next prev parent reply other threads:[~2001-07-08 21:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-06 11:34 Gnat 3.13p and shared libraries on HP-UX Pierre Favier
2001-07-06 13:02 ` Marc A. Criley
2001-07-08 9:56 ` Pierre Favier
2001-07-08 21:30 ` Marc A. Criley [this message]
2001-07-07 8:42 ` Florian Weimer
2001-07-07 21:13 ` Marc A. Criley
2001-07-09 2:21 ` Robert Dewar
2001-07-09 12:31 ` Marc A. Criley
2001-07-10 5:59 ` Pierre Favier
2001-07-10 13:13 ` Marc A. Criley
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox