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!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Benchmarks Game - regex-redux - help needed Date: Fri, 22 Mar 2019 08:11:24 +0000 Organization: A noiseless patient Spider Message-ID: References: <30bfef4b-d568-4f38-a016-082c432eb8e4@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="58e8d8aa4baaf5f6c0d749fa1aa32d4f"; logging-data="21766"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DeYm3He52vQ/rQP7UTrdYvNU/QYna26w=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cancel-Lock: sha1:ETpFU9TV4e3xc8oGC1NyMccQ0GM= sha1:2ypQXsWLSTooCnOKgQsSsFOsmCc= Xref: reader01.eternal-september.org comp.lang.ada:55924 Date: 2019-03-22T08:11:24+00:00 List-Id: Simon Wright writes: > briot.emmanuel@gmail.com writes: > >> Once thing that made it difficult in the beginning was building and >> packaging an extra external library, but I believe pcre is now a >> mandatory dependency for gcc anyway, so it is already distributed... > > I've been building GCC 9, and the only trace of pcre on my system is in > the macports installation directory (which I don't have on my default > path). > > Looks like an easy-enough install, though -- pcre just built & passed > checks (macOS 10.14.3, GCC 9.0.1) ... and the PCRE-basedversion crashes with a segv while calling pcre_free() to deallocate something allocated by pcre. The GNAT.Spitbol version[1] worked a treat. [1] https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/regexredux-gnat-5.html