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!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Exporting linker options from library GPR Date: Wed, 14 Feb 2018 09:33:34 +0000 Organization: A noiseless patient Spider Message-ID: References: <981893565.540207668.848900.laguest-archeia.com@nntp.aioe.org> <101626dd-bbd5-4e10-a383-3c5e29d4bc88@googlegroups.com> <1663297707.540284845.822306.laguest-archeia.com@nntp.aioe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="a2e5d5aca34a08581a2b266cdfc7f64b"; logging-data="18416"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX180qK7baVbnWoPnRRK2KrC0Fi/mUmm2OVQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:vt3xP78UXplpK3UfPrhNCiKWyG4= sha1:ndjGbtnHrEAndI3vVFi9Mvdc880= Xref: reader02.eternal-september.org comp.lang.ada:50442 Date: 2018-02-14T09:33:34+00:00 List-Id: Luke A. Guest writes: > Simon Wright wrote: >> Lucretia writes: > >> I hacked an sdlada_mac.gpr: > > I would question why GNAT isn’t finding the framework directory, it’s a > default path, afaik (which isn’t much re Mac). I’m fairly sure I didn’t > have to do that in the command line. Without the -F, ld fails to find the framework. "man ld" says "The default framework search path is /Library/Frameworks then /System/Library/Frameworks". Perhaps I should bite the bullet and install SDL2 in one of the standard places :-) Would I then still need the Compiler.C_Switches setting for the include path, I wonder? > The makefile’s going to need some extra massaging to enable this, but it’s > required, I’ll get it going tonight then you can dump your gpr. Tks