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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.157.41.3 with SMTP id d3mr3030525otb.69.1475496974753; Mon, 03 Oct 2016 05:16:14 -0700 (PDT) X-Received: by 10.157.55.181 with SMTP id x50mr1341386otb.7.1475496974724; Mon, 03 Oct 2016 05:16:14 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!184no1164512ity.0!news-out.google.com!203ni5600itk.0!nntp.google.com!184no1164502ity.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 3 Oct 2016 05:16:14 -0700 (PDT) In-Reply-To: <6895090b-92f8-4942-bdb3-62090962d9de@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3cda:7600:932b:b705:6315:5a80; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3cda:7600:932b:b705:6315:5a80 References: <6895090b-92f8-4942-bdb3-62090962d9de@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: gprbuild, Mac OS X and frameworks? From: Lucretia Injection-Date: Mon, 03 Oct 2016 12:16:14 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:31974 Date: 2016-10-03T05:16:14-07:00 List-Id: 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 stu= ff for you. gprbuild -p -gnat2012 -XSDL_BUILD=3Dstatic -XSDL_MODE=3Ddebug -XSDL_PLATFOR= M=3Dmacosx -Psdlada.gpr -cargs:c -F SDL2 -v -I/Library/Frameworks/SDL2.fram= ework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOS= X.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/ gprbuild -p -gnat2012 -XSDL_BUILD=3Dstatic -XSDL_MODE=3Ddebug -XSDL_PLATFOR= M=3Dmacosx -Ptests.gpr -cargs:c -F SDL2 -v -I/Library/Frameworks/SDL2.frame= work/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX= .platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/ -largs -framework SDL= 2 I'm posting this in case anyone does this in the future and needs actual he= lp, 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.