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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1a80a77402b27e77,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail From: Sebastien Newsgroups: comp.lang.ada Subject: Shared library in Ada Date: Sat, 19 Apr 2008 13:27:24 +0200 Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX19lG+COvpDJ4ZIlDTe3sEmzoIOeF8Z4nNZPT5po9SDuq+Kz0DNz1pgcGuNnmlZs+4qu4QNEenObZ0aaSVGzF9NzWAEJhOgVGzCsNp8T0tSd4FURBZgkq5VkthhlV/hC7io= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Sat, 19 Apr 2008 11:27:19 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19Z4Q7OO3+xY/2Vy9Mef621hGPHOZi88YI= Cancel-Lock: sha1:/tyZ39s+1AgI2D0xFuQId+R8wXk= User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) Xref: g2news1.google.com comp.lang.ada:20998 Date: 2008-04-19T13:27:24+02:00 List-Id: Hi, I'm a new developper in Ada, and I found out a really suprising and unknown language. I have a read a lot of stuff on internet, made many tests. Now there is only one things I didn't get information about. I'd like to create a share object in Ada and use it in an Ada software. So the question is, is the ads file going to be enough to get my program compile? For instance: with mylibpkg; procedure Main is begin mylibpkg.Print(); end Main; I have only the mylibpkg.so and the mylibpkg.ads, can I compile? ldd main is going to me dependent of mylibpkg.so? Thanks by advance, Sebastien