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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.143.143 with SMTP id l15mr815493yhj.57.1413128298168; Sun, 12 Oct 2014 08:38:18 -0700 (PDT) X-Received: by 10.140.104.176 with SMTP id a45mr295139qgf.5.1413128297437; Sun, 12 Oct 2014 08:38:17 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!eu.feeder.erje.net!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!s7no2212745qap.0!news-out.google.com!i10ni84qaf.0!nntp.google.com!dc16no2331119qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 12 Oct 2014 08:38:17 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=108.28.71.249; posting-account=R4LoWQoAAADGk_NM4sTrVeMk6DXQFwxe NNTP-Posting-Host: 108.28.71.249 References: <02796daf-0ab5-4722-a4ef-42155568e3c5@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6bfc0677-977e-4f78-9496-0f4817bd3c78@googlegroups.com> Subject: Re: ANN: GCC 4.9.0 (2014) for Max OS X Mavericks From: Mario Roy Injection-Date: Sun, 12 Oct 2014 15:38:18 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:22391 Date: 2014-10-12T08:38:17-07:00 List-Id: The gnat binary in gcc-4.9.0-x86_64-apple-darwin13-2014-1.tar.bz2 is working. Did not know that gnatchop -h is causing a segmentation fault though. You see, I am new to Ada. The (Segmentation fault: 11) error takes the fun away, unfortunately. Solution: Configure GCC with --with-host-libstdcxx=-lstdc++. I also tested --with-host-libstdcxx=/usr/lib/libstdc++.6.dylib and that works too. I read about --with-host-libstdcxx at https://gcc.gnu.org/install/configure.html. That did it. The gnat binaries are working as expected even when passing an unknown command (i.e. gnat -v or gnatchop -h).