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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,10706aebb8b707de X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.74.201 with SMTP id w9mr22288945pbv.0.1329926514149; Wed, 22 Feb 2012 08:01:54 -0800 (PST) Path: wr5ni55737pbc.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: gnat executables Date: Wed, 22 Feb 2012 17:01:35 +0100 Organization: cbb software GmbH Message-ID: References: Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-02-22T17:01:35+01:00 List-Id: On Wed, 22 Feb 2012 07:31:29 -0800 (PST), tonyg wrote: > Whenever I compile some code for a different PC , it asks me for the > runtime libraries for gtk and some others. Is there a way I can link > my executable so the functions used in these libraries are included in > my executable ? You have to link to the static (object) libraries. Whether this would work depends on whether the provider of the library allows static linkage or not. The answer would depend on the target platform and the licensing policy. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de