comp.lang.ada
 help / color / mirror / Atom feed
From: John English <je@brighton.ac.uk>
Subject: Re: How link Windows GUI with GNAT
Date: Thu, 31 May 2001 15:58:14 +0100
Date: 2001-05-31T14:58:11+00:00	[thread overview]
Message-ID: <3B165C06.86A810F9@brighton.ac.uk> (raw)
In-Reply-To: rAsR6.7003$rn5.326643@www.newsranger.com

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
-----------------------------------------------------------------



  reply	other threads:[~2001-05-31 14:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-31 13:48 How link Windows GUI with GNAT Alfred Hilscher
2001-05-31 14:30 ` Ted Dennison
2001-05-31 14:58   ` John English [this message]
2001-06-04  3:56     ` Warren W. Gay VE3WWG
2001-05-31 14:41 ` Ed Falis
2001-06-01  6:54 ` Alfred Hilscher
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox