From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h" Date: Thu, 29 Jun 2023 14:12:49 +0100 Organization: A noiseless patient Spider Message-ID: References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com> <21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="01bc129a055bf06d3ed09199f4a59a8c"; logging-data="2286884"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/N3gXb9nj61FnLxzaoo0olvkRuyvw5mCM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cancel-Lock: sha1:Tgk36mBFQw4EQQL33XjJHe138G8= sha1:A/UtWm86p3ZhJ8TmhC5FfEXF31s= Xref: news.eternal-september.org comp.lang.ada:65374 List-Id: Kenneth Wolcott writes: > Since I'm [...] using gnatmake I don't understand why you'd want to use gnatmake? Most people who provide packaged libraries (e.g. sdlada) include a GPR file which saves you a raft of pain if you use it. OK, you have to learn something about gprbuild, but then you have to learn how to drive gnatmake (e.g. the previous discussion about -I). Also, sdlada includes 3 C source files, and so far as I know gnatmake doesn't know how to build C files, whereas gprbuild does and build/gnat/sdlada.gpr drives the needed compilations. > I'm on a Mac mini > with an M1 chip, ALR refuses to get most packages because I don't have > a native Ada compiler Can you give us an example of a package that alr refuses to get?