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!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: ANN: GCC 6.1.0 for OS X El Capitan Date: Sun, 05 Jun 2016 11:04:58 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="fa27e9c62dd412c1b6adffaac11b940a"; logging-data="8888"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3O/7H4O2r1qy5jF3vKOyNzyZa/xO83zQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:Wpe2/JSbu32uiLmvcCVUA8XM0Is= sha1:lmnNnBq6eOMGU8eW11tWBrWUDLU= Xref: news.eternal-september.org comp.lang.ada:30617 Date: 2016-06-05T11:04:58+01:00 List-Id: It turns out that the native-2015 README makes a claim that I in fact failed to fulfil. I've updated it and uploaded a patch for manual application, if needed; only if you're going to be building a relocatable library (e.g. your own version of GNATColl). The relevant section of the updated README says Library names ............. The ld error "library not found for -lgnat-6.1" will be encountered when using gprbuild to link a relocatable library (ordinary relocatable links should be OK). The reason is that the GCC build process only generates libgnat-6.dylib, libgnarl-6.dylib, but gprbuild tries to link against libgnat-6.1.dylib (why it wouldn't just link against libgnat.dylib I don't know). You can fix by either of * installing the necessary symbolic links: in $prefix/lib/gcc/x86-64-apple-darwin15/6.1.0/adalib, sudo ln -s libgnat-6.dylib libgnat-6.1.dylib sudo ln -s libgnarl-6.dylib libgnarl-6.1.dylib * patch gprbuild's database: download share-gprconfig-compilers.xml.diff, then in $prefix, sudo patch -p1 <~/Downloads/share-gprconfig-compilers.xml.diff