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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,efe914451b155bdc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-26 12:16:43 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!news-han1.dfn.de!news.fh-hannover.de!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Ada Shared Libray on Linux Date: 26 Jun 2001 21:17:36 +0200 Organization: Enyo's not your organization Message-ID: <871yo7dp9r.fsf@deneb.enyo.de> References: <9hahkh$q8b$07$1@news.t-online.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: archiver1.google.com comp.lang.ada:9125 Date: 2001-06-26T21:17:36+02:00 List-Id: "Rainer Welzel" writes: > how can I create a Shared Libray from Ada on Linux (gnatmake). I think the GtkAda sources contain an example. The idea is to compile some stub file which 'with's all units at (Ada) library level using gnatmake and supply thie '-fPIC' flag. The resulting object files can be linked with 'gcc -shared -o libsuchandsuch.so *.o' or a similar command. > I wont to use some Ada Code inside Borland Kylix. Don't forget to initialize the Ada environment from your Kylix program.