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!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT GPL 2017 gnatcoll.xref disappeared? Date: Thu, 22 Jun 2017 21:01:38 +0100 Organization: A noiseless patient Spider Message-ID: References: <11b656c0-3dc8-48cc-9515-70e4386ca24b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="a891fb36de253123be22f8a7f89750e8"; logging-data="17607"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18U/AA0xe+evHcfzLtCNd+fM4J+7cZVYM0=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin) Cancel-Lock: sha1:ZzPHh4MTnFtdcOth2wzjcduavf0= sha1:qIhrBdupLQBiUfQl/C9NQbE82hQ= Xref: news.eternal-september.org comp.lang.ada:47061 Date: 2017-06-22T21:01:38+01:00 List-Id: Simon Wright writes: > Assuming you're working on ada-mode .. these patches should do the > trick! Sorry, they don't. They would if you had a full installation of gnatcoll (as I have, with FSF GCC 7.1.0 for macOS). Looks as though you need the source (from libre? certainly from github), and provided your gnatcoll has projects, iconv and sqlite enabled it should select xref automatically. I suppose I must have iconv installed; anyway, the notes are as below (adjust for obvious mac-isms! and you probably won't want/have gmp) ======================================================================== GNATColl built without changes. It was configured as below, which is minimal apart from GNU Readline, GMP and Projects being enabled and PostGres being disabled. Users may wish to reconfigure for their own requirements. ./configure \ --prefix=/opt/gcc-7.1.0 \ --build=x86_64-apple-darwin15 \ --enable-gpl \ --with-gmp \ --without-postgresql (I'm not sure that --with-gmp is needed if the library is found) resulting in Shared libraries: yes (default: static) Gtk+: no (requires pkg-config and gtkada.gpr) Python: yes /System/Library/Frameworks/Python.framework/Versions/2.7 (see --with-python) PyGtk: no (see --enable-pygtk) PyGObject: no (see --enable-pygobject) Syslog: yes (see --enable-syslog) Readline (GPL license): yes (see --with-readline --enable-gpl) gmp: yes (see --with-gmp) PostgreSQL: no (see --with-postgresql) Sqlite: embedded (see --with-sqlite) Iconv: yes (see --with-iconv) Projects: yes