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,807ea75fdd8baa41 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: Some questions on packaging Ada code Date: Tue, 08 Mar 2011 12:53:56 -0800 Organization: Aioe.org NNTP Server Message-ID: References: Reply-To: nma@12000.org NNTP-Posting-Host: tUYQ4Ty9mMw9Pdc8TJRFQA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news2.google.com comp.lang.ada:18939 Date: 2011-03-08T12:53:56-08:00 List-Id: On 3/8/2011 10:14 AM, localhost@example.org wrote: > Hello all! Is it possible to generate an executable using gcc-ada and > ncurses that doesn't have any dependencies? I'm thinking about providing an > application to people that don't have ada or maybe even gcc installed and > certainly not ncurses. I have Linux as my development system. If the answer > to this question is yes then my next question would be can I generate a > standalone Windows executable from Linux easily enough or should I take the > source over to Windows somehow and build it there. Thanks for your help. I am sure you can. I do not see why not. Just link with static libraries when building your .exe instead of shared ones. 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. --Nasser