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,72973cb941b9d7ea X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.241.7 with SMTP id we7mr4812148pbc.4.1336612766511; Wed, 09 May 2012 18:19:26 -0700 (PDT) Path: pr3ni8133pbb.0!nntp.google.com!news2.google.com!postnews.google.com!k7g2000pbo.googlegroups.com!not-for-mail From: Jerry Newsgroups: comp.lang.ada Subject: Re: gprbuild worked for GNAT GPL 2010, fails for 2011 edition Date: Wed, 9 May 2012 18:19:25 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 97.117.199.83 Mime-Version: 1.0 X-Trace: posting.google.com 1336612766 21271 127.0.0.1 (10 May 2012 01:19:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 10 May 2012 01:19:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k7g2000pbo.googlegroups.com; posting-host=97.117.199.83; posting-account=x5rpZwoAAABMN2XPwcebPWPkebpwQNJG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7_3; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-05-09T18:19:25-07:00 List-Id: On May 9, 12:36=A0am, Simon Wright wrote: > Glad to be of help (not that I'm quite sure _how_! it all seems very > mysterious ...) You clued me in that the .ali's and .dylib need to be in the same library. But here is another question, to which I can't find the answer in any docs: In the PLplot build directory, there is a directory that contains all the .ali and .o files for the Ada bindings. (I know, they should be in the installation directory, but I don't think that affects my question. The current installation directory has a directory that contains only .alis but no .o's. I can fix this later.) So, knowing that all the .ali's and .o's are here: /usr/local/plplot_build_dir/bindings/ada/CMakeFiles/plplotadad.dir how do I make a .gpr file to describe this? What strings do I use for Library_Dir and Library_Name? I suppose it will look something like this: library project PLplot_Library_2 is for Externally_Built use "true"; for Source_Dirs use ("/usr/local/plplot/share/ada/adainclude/ plplotadad"); for Library_Dir use "/usr/local/plplot_build_dir/bindings/ada/ CMakeFiles/"; for Library_Name use "plplotadad.dir"; end PLplot_Library_2; Jerry