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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM 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 Received: by 10.68.136.40 with SMTP id px8mr22311301pbb.1.1329927341822; Wed, 22 Feb 2012 08:15:41 -0800 (PST) Path: wr5ni55777pbc.0!nntp.google.com!news1.google.com!postnews.google.com!t30g2000vbx.googlegroups.com!not-for-mail From: tonyg Newsgroups: comp.lang.ada Subject: Re: gnat executables Date: Wed, 22 Feb 2012 08:14:20 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 195.58.145.51 Mime-Version: 1.0 X-Trace: posting.google.com 1329927341 23656 127.0.0.1 (22 Feb 2012 16:15:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 22 Feb 2012 16:15:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t30g2000vbx.googlegroups.com; posting-host=195.58.145.51; posting-account=28F2IwkAAACL1Z5nRC-dE7zuvWdbWC7P User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.16) Gecko/20120131 Iceweasel/3.5.16 (like Firefox/3.5.16),gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-02-22T08:14:20-08:00 List-Id: On Feb 22, 4:01=A0pm, "Dmitry A. Kazakov" wrote: > 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 wor= k > 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. Kazakovhttp://www.dmitry-kazakov.de The librarys are all debian based, things like libgnadecommon and libgtk, I was really looking for the command to give to gnatmake, I know - static option links in the gnat runtime etc