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,be1dcb512cfd9c2b X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Linking Ada code stored in a dylib References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1200163424 12.201.97.213 (Sat, 12 Jan 2008 18:43:44 GMT) NNTP-Posting-Date: Sat, 12 Jan 2008 18:43:44 GMT Organization: AT&T ASP.att.net Date: Sat, 12 Jan 2008 18:43:44 GMT Xref: g2news1.google.com comp.lang.ada:19356 Date: 2008-01-12T18:43:44+00:00 List-Id: Jerry wrote: > > On my end, I eventually noticed that whenever I used the bindings as > (now) downloaded from the PLplot project site, I would get new .o > and .ali files, a re-compilation of the bindings, in the directory > where my main program was. I assumed that it was something that I had > done wrong since I'm not a wizard at compiler and linker switches and > didn't worry much about it since things worked just fine. However, > when I finally bothered to tell the linker to link this .dylib, I > still saw the re-compiled .o and .ali files appearing. GNAT will not recompile code if the .ali is read only. -- Jeff Carter "You empty-headed animal-food-trough wiper." Monty Python & the Holy Grail 04