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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,807ea75fdd8baa41 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: localhost@example.org Newsgroups: comp.lang.ada Subject: Re: Some questions on packaging Ada code Date: Wed, 9 Mar 2011 10:32:12 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: 1fBP04fsPqTkkcvlQyUnMA.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:17979 Date: 2011-03-09T10:32:12+00:00 List-Id: > I am sure you can. I do not see why not. Just link with static libraries > when building your .exe instead of shared ones. Yes but how? What do I add to the gnatmake command line to make a static executable? > If you are distributing an executable, why one any one need to have gcc on > their end to run your program?gcc is a compiler. > > May be I am missing something here. To explain a bit more whether someone has gcc or not I was talking about the runtime for Ada being available because I read gcc-ada needs the runtime available and I don't know if you can link it staticly and if so, how.