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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!feeder4.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 17 Jul 2018 08:13:11 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: How to run a GNAT program without starting a terminal session Date: Tue, 17 Jul 2018 09:13:12 -0400 Organization: IISS Elusive Unicorn Message-ID: References: <5e74108c-b192-498a-afdb-ba6040adcf86@googlegroups.com> <2d146423-a3c5-40f4-8a11-e772094e4ee6@googlegroups.com> User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-K7vB4uw/lrL5bKB0QL6n1gV3/zN3Uok2hKRDtOkcemJJcybBb6cn+u4y3Lm5HCKXCmP4o+LvnCaMlc1!km97dhAqjPaTwfW50QU/fjrsYrVwntA0MDje64Ya3ClgrpW80drmLnG5bcq/Thk3Rj4xP17b X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2092 Xref: reader02.eternal-september.org comp.lang.ada:53874 Date: 2018-07-17T09:13:12-04:00 List-Id: On Tue, 17 Jul 2018 03:08:59 -0700 (PDT), Jerry declaimed the following: >On Tuesday, July 17, 2018 at 2:55:16 AM UTC-7, AdaMagica wrote: >> If I remember correcly, there is the linker switch -mwindows suppressing the terminal. > >ld: unknown option: -mwindows > Per https://gcc.gnu.org/onlinedocs/gnat_ugn/Platform-Specific-Information.html#Platform-Specific-Information that is M$ only. Silly thought -- but what happens if you (somehow) redirect stdin/stdout/stderr to bit-buckets or other non-interactive sources? It could be that the console is created when the run-time system opens/connects to those I/O streams and if they are connected elsewhere won't appear. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/