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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d3a5af43ccecfbb9,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Frank Piron Newsgroups: comp.lang.ada Subject: Building a shared library with gnat Date: Tue, 14 Sep 2004 13:09:40 +0200 Organization: 1&1 Internet AG Message-ID: NNTP-Posting-Host: p508b4004.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: online.de 1095159926 16181 80.139.64.4 (14 Sep 2004 11:05:26 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Tue, 14 Sep 2004 11:05:26 +0000 (UTC) User-Agent: Opera7.23/Win32 M2 build 3227 Xref: g2news1.google.com comp.lang.ada:3713 Date: 2004-09-14T13:09:40+02:00 List-Id: Hi, i'm just trying to build a shared library for use in non ada context with gnat 3.15p on a sun sparc with solaris 5.8. I followed the advice in the gnat user guide, but the .so which came out contains many lazy dependencies to gnat runtime. How can i build a shared object which itself is linked with a static gnat runtime. Do i have to recbuild gnat runtime with -fPIC? Regards, Frank Piron ---------------------------------------------------- f_r_a_n_k_a_t_k_o_n_a_d_d_o_t_n_e_t