comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Exporting linker options from library GPR
Date: Wed, 14 Feb 2018 09:33:34 +0000
Date: 2018-02-14T09:33:34+00:00	[thread overview]
Message-ID: <lyr2pnkj9t.fsf@pushface.org> (raw)
In-Reply-To: 1663297707.540284845.822306.laguest-archeia.com@nntp.aioe.org

Luke A. Guest <laguest@archeia.com> writes:

> Simon Wright <simon@pushface.org> wrote:
>> Lucretia <laguest9000@googlemail.com> 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

  reply	other threads:[~2018-02-14  9:33 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-19 14:25 Exporting linker options from library GPR Simon Wright
2018-01-19 16:10 ` Dmitry A. Kazakov
2018-01-19 17:25   ` Simon Wright
2018-01-20 18:15     ` Stephen Leake
2018-02-13  9:43 ` Luke A. Guest
2018-02-13 18:37   ` Lucretia
2018-02-13 20:30     ` Simon Wright
2018-02-13 20:37     ` Simon Wright
2018-02-14  6:29       ` Luke A. Guest
2018-02-13 20:42     ` Simon Wright
2018-02-14  7:10       ` Luke A. Guest
2018-02-14  9:33         ` Simon Wright [this message]
2018-02-14  9:59           ` Luke A. Guest
2018-02-15  1:04             ` Lucretia
2018-02-15  8:49               ` Simon Wright
2018-02-15 10:06                 ` Lucretia
2018-02-15 11:39                   ` Simon Wright
2018-02-15 15:22                     ` Lucretia
2018-02-15 15:24                     ` Lucretia
2018-02-15 18:38                       ` Lucretia
2018-02-15 18:42                         ` Lucretia
2018-02-15 20:52                           ` Simon Wright
2018-02-15 23:14                             ` Luke A. Guest
2018-02-16  8:29                               ` Simon Wright
2018-02-16 23:26                                 ` Stephen Leake
2018-02-17  7:49                                   ` Simon Wright
2018-02-17 14:51                                     ` Lucretia
2018-02-17 15:43                                       ` Simon Wright
2018-02-17 15:52                                         ` Lucretia
2018-02-16  7:29                             ` Lucretia
2018-02-13  9:50 ` Luke A. Guest
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox