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: a07f3367d7,9939161a73e5f223 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.184.11 with SMTP id ci11mr26996310qab.1.1357196934847; Wed, 02 Jan 2013 23:08:54 -0800 (PST) Received: by 10.49.15.38 with SMTP id u6mr7690467qec.8.1357196934781; Wed, 02 Jan 2013 23:08:54 -0800 (PST) Path: k2ni4226qap.0!nntp.google.com!ee4no12717005qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 2 Jan 2013 23:08:54 -0800 (PST) In-Reply-To: <73b9e6a8-1c24-4704-9e18-e015852480f7@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.53.16.242; posting-account=cUi90woAAADTaOISowbbHM8GUD0-opJO NNTP-Posting-Host: 70.53.16.242 References: <38857635-8ab5-4ff6-b547-f40ac31720a2@googlegroups.com> <87bod79xlf.fsf@mid.deneb.enyo.de> <87txqz8i0g.fsf@mid.deneb.enyo.de> <73b9e6a8-1c24-4704-9e18-e015852480f7@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Please help with my lua binding From: Patrick Injection-Date: Thu, 03 Jan 2013 07:08:54 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-01-02T23:08:54-08:00 List-Id: I had originally looked for Ada bindings here: http://lua-users.org/wiki/BindingCodeToLua Both links were dead. I had downloaded the second link's code last year tho= ugh but it was very hard for me to understand the build system and I decide= d to start from scratch. I found the project reworked with a simple makefile and two gpr files on gi= thub. There are two authors, one is here: https://github.com/Lucretia/coreland-lua-ada I had a bit of trouble building it but it appears to be a gnat issue. putting these commands in a shell script helped: make make tests LIBRARY_PATH=3D$LIBRARY_PATH:/usr/lib/x86_64-linux-gnu /pat/gnat/bin/gnatma= ke -Plua_ada_tests (you would of course have to edit this last line) The library path does not seem to be found by default and must be specified= . This project does not appear complete but it is miles ahead of where I was = a few hours ago. I am going to study it and put my project on hold. Thanks to Florian and Simon again. I suppose my efforts are a failure at th= is point but I have learned quite a bit. Ada is a wonderful language but I = have not been actually writing enough to organize all the pieces I have rea= d. Trying out projects is a great way to learn and I learned several things= today.