From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: hreba Newsgroups: comp.lang.ada Subject: Re: Gtkada link problem Date: Mon, 6 Jul 2020 12:49:26 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 1rGQLKV9a84ra9XIn6d/rwFZb+oOxedg6Q3BwtbPm02ho0JJDd Cancel-Lock: sha1:fwA6glkvapAM1PnrfOVGZ4dQy/M= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 In-Reply-To: Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:59363 List-Id: On 05.07.20 20:56, Dmitry A. Kazakov wrote: > On 05/07/2020 16:57, hreba wrote: > >> I am pretty sure that I just need some linker switches and that the >> above ones are useless. >> >> Any help? > > Static GTK/GtkAda linkage stopped working long ago. Since then I never > tried to revive it. I do not remember the exact problem it was something > to do with GTK licensing, but I might be wrong. > > If you find a way let me know, however I think it does not worth the > efforts. > > Because if you hope to create a self-contained GTK application with will > not work. GTK requires literally thousands of files like fonts, themes > etc to work. If you manage to link it statically and eliminate shared > libraries you sill won't be able to deploy it as a single file. > As static is the default and stands in all examples, I left it this way for laziness. No problem to change it. Thanks for the answer. -- Frank Hrebabetzky, Kronach +49 / 9261 / 950 0565