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=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, 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: "Luke A. Guest" 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 20:29:07 +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; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 29 Jun 2023 19:29:07 -0000 (UTC) Injection-Info: dont-email.me; posting-host="9bb87ce4a1063252a21a0715e161b0ea"; logging-data="2366110"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WN8D48MPg2VCe0twe9mhSrcSNe0KEqDc=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Cancel-Lock: sha1:yzzNO7fdlBtAGPZOeh1WKCZwg6U= In-Reply-To: Content-Language: en-GB Xref: news.eternal-september.org comp.lang.ada:65378 List-Id: On 29/06/2023 17:06, Simon Wright wrote: > "Luke A. Guest" writes: > >> Yeah, unfortunately I cannot remove the C files as they turn C macros >> into variables and are useful at runtime, see the sdlada repo for >> someone who wants to get rid of them. > > I had exactly this in tcladashell; even better, a Tcl script to generate > a C source, compiled against the Tcl/Tk libraries and run to generate > Ada source specifying record sizes/alignments. I bet you never had someone try to remove the C file though.