From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7ab2d703299100e6 X-Google-Attributes: gid103376,public From: Markus Kuhn Subject: Re: GNAT shared libraries under Linux Date: 1998/06/01 Message-ID: <3572CFD3.D1DDF0F@cl.cam.ac.uk>#1/1 X-Deja-AN: 358484380 Content-Transfer-Encoding: 7bit References: <3571A970.41C6@cl.cam.ac.uk> <6ksc6a$9ap$1@news00.btx.dtag.de> Content-Type: text/plain; charset=us-ascii Organization: Cambridge University, Computer Laboratory Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-06-01T00:00:00+00:00 List-Id: 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: