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,60beaed5c57d54d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "Alex Mentis" Newsgroups: comp.lang.ada Subject: Re: Import pragma question Date: Wed, 23 Mar 2011 09:06:03 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <4d89b338$0$5392$ba4acef3@reader.news.orange.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Injection-Date: Wed, 23 Mar 2011 09:06:03 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="TfaOIE1E70h9psK9x8LxRg"; logging-data="9272"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+B0sb8MRwLUguVPDNSjXCrNmT+mvuEPb4=" User-Agent: XanaNews/1.19.1.269 Cancel-Lock: sha1:oo0jevpDEvdzF4mYtjckIODNW3g= Xref: g2news1.google.com comp.lang.ada:18399 Date: 2011-03-23T09:06:03+00:00 List-Id: Pascal Obry wrote: > By passing the corresponding object file or library to the linker. > No magic! With GNAT you can use: > > $ gnat make main.adb -largs -lmylib > > And possibly the PATH to this library with -L//. > Thanks. I have to admit, I've never had to mess with linker options too much in my little projects, so this is sort of new territory for me. Alex