comp.lang.ada
 help / color / mirror / Atom feed
From: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
Subject: Re: GNAT shared libraries under Linux
Date: 1998/06/01
Date: 1998-06-01T00:00:00+00:00	[thread overview]
Message-ID: <3572CFD3.D1DDF0F@cl.cam.ac.uk> (raw)
In-Reply-To: 6ksc6a$9ap$1@news00.btx.dtag.de


Juergen Pfeifer wrote:
> Markus Kuhn wrote:
> > Is it possible to compile libgnat.a into a shared library with
> > gnat-3.10p under Linux?
> >
> I built it from the sources on my redhat 5.0 system (requires a tiny
> patch). The important thing is to use "make gnatlib-shared" if you
> build the library. Next step is to make sure, that the linker knows
> about the shared library. I simply put a symlink /usr/lib/libgnat.so
> to the shared library located in the gcc library subdirectory. After
> the usual ldconfig it works fine with the shared runtime.

Thanks, I'll try that.

> I'm actually experimenting now with glibc-2.1 und kernel 2.1.103.
>       - Every of the test programs of florist get's a CONSTRAINT_ERROR

I ran into exactly the same problem when I tried to install florist
under Red Hat 5. Ted Baker said he might possibly put up a new release
with better signal support this week. Let's hope he has the time to
test it on a glib2 system this time as well.

Markus
(dreaming of the day when /usr/lib/libgnat.so and /usr/lib/libflorist.so
come as commonly preinstalled with every Linux distribution as libc,
in order to ensure portability of tiny Ada executables.

-- 
Markus G. Kuhn, Security Group, Computer Lab, Cambridge University, UK
email: mkuhn at acm.org,  home page: <http://www.cl.cam.ac.uk/~mgk25/>




      reply	other threads:[~1998-06-01  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-31  0:00 GNAT shared libraries under Linux Markus Kuhn
1998-05-31  0:00 ` Juergen Pfeifer
1998-06-01  0:00   ` Markus Kuhn [this message]
replies disabled

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