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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fd3e1f8f966f5aca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-31 08:41:22 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!demon!newspeer.clara.net!news.clara.net!server3.netnews.ja.net!newshost.central.susx.ac.uk!news.bton.ac.uk!not-for-mail From: John English Newsgroups: comp.lang.ada Subject: Re: How link Windows GUI with GNAT Date: Thu, 31 May 2001 15:58:14 +0100 Organization: University of Brighton Message-ID: <3B165C06.86A810F9@brighton.ac.uk> References: <3B164B9C.2355F6E3@icn.siemens.de> NNTP-Posting-Host: straumli.it.bton.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: saturn.bton.ac.uk 991321091 2726 193.62.183.204 (31 May 2001 14:58:11 GMT) X-Complaints-To: news@bton.ac.uk NNTP-Posting-Date: 31 May 2001 14:58:11 GMT X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:7937 Date: 2001-05-31T14:58:11+00:00 List-Id: Ted Dennison wrote: > > In article <3B164B9C.2355F6E3@icn.siemens.de>, Alfred Hilscher says... > > > >I've written a GUI app on WinNT. When I start it, it always opens a > >console window first (although the GUI is show afterwards). From Aonix I > >know, that I can direct the linker to produce a "console app" or a > >"window app". How is it done with GNAT ? I didn't find a > >correspondending linker-switch. > > I haven't tried this myself, but there's a cygwin gcc switch "-mwindows" that is > supposed to do this for you. It's actually a linker switch: "gnatmake foo.adb -largs -mwindows" will do the trick. ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.comp.it.bton.ac.uk/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------