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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ANN: GCC 4.9.0 (2014) for Max OS X Mavericks Date: Sun, 12 Oct 2014 19:35:27 +0100 Organization: A noiseless patient Spider Message-ID: References: <02796daf-0ab5-4722-a4ef-42155568e3c5@googlegroups.com> <6bfc0677-977e-4f78-9496-0f4817bd3c78@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="865ecc8333c04b7dc8d5f87fc772110b"; logging-data="12758"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xggiuNnNHG5IaCg3OMD6k9/+6vRFswF4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:1J/n5OUmb2w7heeBDon6F/3FkL0= sha1:s/lQlpeDxAgHQI5ckIOpwyjTegU= Xref: news.eternal-september.org comp.lang.ada:22397 Date: 2014-10-12T19:35:27+01:00 List-Id: Mario Roy writes: > 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. I guess I only see it very rarely because I'm so used to the GNAT command line that I don't make mistakes like gnatchop -h very often. But it's very annoying when it happens (esp. when the machine frezes while the program tramples over the whole address space before hitting the SEGV!) > 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). I see that page, but I don't see what made you try --with-host-libstdcxx=-lstdc++! Will maybe do a 4.9.1 with this change.