comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeff Creem" <jcreem@atetola.mv.com>
Subject: Re: ada and gtkada: dos window
Date: 2000/10/15
Date: 2000-10-15T00:00:00+00:00	[thread overview]
Message-ID: <suja9lled3cp21@corp.supernews.com> (raw)
In-Reply-To: KKeG5.7236$2d3.1789665@newsrump.sjc.telocity.net


"David C. Hoos, Sr." <david.c.hoos.sr@ada95.com> wrote in message
news:KKeG5.7236$2d3.1789665@newsrump.sjc.telocity.net...
> he window appears because you didn't tell the linker that your program
> is a Windows program. To do so, requires passing the option -mwindows
> to the linker.
>
> One good way to do this is to put in your main program source code the
> following pragma:
>
> pragma Linker_Options("-mwindows");
>


This advice is correct but I prefer to put things like this in a build
script/makefile since when this
program is moved to Linux or some other non Win32 environment the -mwindows
will need to be removed.







  reply	other threads:[~2000-10-15  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-15  5:26 ada and gtkada: dos window Jesse Farmer
2000-10-15  0:00 ` David C. Hoos, Sr.
2000-10-15  0:00   ` Jeff Creem [this message]
2000-10-15  0:00     ` aalmroth
replies disabled

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