comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: gprbuild, Mac OS X and frameworks?
Date: Mon, 3 Oct 2016 05:16:14 -0700 (PDT)
Date: 2016-10-03T05:16:14-07:00	[thread overview]
Message-ID: <ff4e36c5-010d-4b90-93e9-5ae09ac873db@googlegroups.com> (raw)
In-Reply-To: <6895090b-92f8-4942-bdb3-62090962d9de@googlegroups.com>

Looks like I found the solution. I'm a beginner at this Mac OS stuff, and I thought the -framework ?? thing was supposed to sort out the -I and -L stuff for you.


gprbuild -p -gnat2012 -XSDL_BUILD=static -XSDL_MODE=debug -XSDL_PLATFORM=macosx -Psdlada.gpr -cargs:c -F SDL2 -v -I/Library/Frameworks/SDL2.framework/Headers  -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/

gprbuild -p -gnat2012 -XSDL_BUILD=static -XSDL_MODE=debug -XSDL_PLATFORM=macosx -Ptests.gpr -cargs:c -F SDL2 -v -I/Library/Frameworks/SDL2.framework/Headers  -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/ -largs -framework SDL2

I'm posting this in case anyone does this in the future and needs actual help, because I've found nothing on the interwebs for this.

Looks like I need to modify my build for this.

Anyone ever try to build gcc for iPhone? Because that's next and I'm going to need assistance, I think. :/

Thanks,
Luke.


      reply	other threads:[~2016-10-03 12:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03 11:48 gprbuild, Mac OS X and frameworks? Lucretia
2016-10-03 12:16 ` Lucretia [this message]
replies disabled

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