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: a07f3367d7,f4802d93081c75be,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!l13g2000yqb.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: GNAT 2009 and C++ Date: Fri, 2 Oct 2009 00:16:01 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 137.138.182.236 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1254467761 29922 127.0.0.1 (2 Oct 2009 07:16:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 2 Oct 2009 07:16:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l13g2000yqb.googlegroups.com; posting-host=137.138.182.236; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8570 Date: 2009-10-02T00:16:01-07:00 List-Id: The GNAT GPL 2009 from the Libre site does not seem to include the g++ compiler, only gcc is provided. As a result it is not possible to link a complete program from components written in both Ada and C++. Well, at least this is not possible on Max OS X, where after setting up the GNAT 2009 environment the following commands: $ gcc --version $ g++ --version give different numbers (the first comes from the GNAT distribution and overrides the standard compiler and the other one is still the standard system version). The distribution from macada.org contains both g++ and gcc compilers and the above problem does not appear. Do other GNAT 2009 users consider it to be a problem? If yes, would it be possible to include a consistent C++ compiler in the GNAT distribution as well? (this is a question to AdaCore, of course ;-) ) -- Maciej Sobczak * www.msobczak.com * www.inspirel.com Database Access Library for Ada: www.inspirel.com/soci-ada