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,12c54a0f5a27d882 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!k36g2000yqn.googlegroups.com!not-for-mail From: Vadim Godunko Newsgroups: comp.lang.ada Subject: Re: Autoconf & gnat Help Needed Date: Fri, 23 Apr 2010 11:39:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5867de55-7ca2-4c64-a72f-d2343153eef0@k36g2000yqn.googlegroups.com> References: <82sk6nn4vn.fsf@stephe-leake.org> <82ochamzq1.fsf@stephe-leake.org> NNTP-Posting-Host: 109.165.12.138 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1272047959 24073 127.0.0.1 (23 Apr 2010 18:39:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 23 Apr 2010 18:39:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k36g2000yqn.googlegroups.com; posting-host=109.165.12.138; posting-account=niG3UgoAAAD7iQ3takWjEn_gw6D9X3ww User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:11138 Date: 2010-04-23T11:39:19-07:00 List-Id: On Apr 23, 5:44=A0pm, Warren wrote: > > For a basic interpreter, making use of ncurses, libgmp, libgsl, > and PostgreSQL etc., it is unavoidable. :) =A0I tried to avoid C++ > like the plague, but ncurses requires a C++ main, if GNAT exceptions > are to work correctly. I'm not sure of the details why, but a GNAT > exception + ncurses and a C or gnat main leads to an abort. > Switching to a C++ main program has corrected that. > Did you try to pass -shared to gnatbind?