comp.lang.ada
 help / color / mirror / Atom feed
From: aalmroth@my-deja.com
Subject: Re: ada and gtkada: dos window
Date: 2000/10/15
Date: 2000-10-15T00:00:00+00:00	[thread overview]
Message-ID: <8scebf$fla$1@nnrp1.deja.com> (raw)
In-Reply-To: suja9lled3cp21@corp.supernews.com

In article <suja9lled3cp21@corp.supernews.com>,
  "Jeff Creem" <jcreem@atetola.mv.com> wrote:
>
> "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.
>

Well, I guess one could use the gnatprep tool if compiling with GNAT.
This way you can just include pragmas for the platform in question...

Just my $0.25
Andreas


Sent via Deja.com http://www.deja.com/
Before you buy.




      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
2000-10-15  0:00     ` aalmroth [this message]
replies disabled

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