comp.lang.ada
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@rfc1149.net>
Subject: Re: Detecting the OS type before clearing screen
Date: Tue, 25 Mar 2003 11:24:09 +0100
Date: 2003-03-25T11:24:09+01:00	[thread overview]
Message-ID: <87adfjvj5i.fsf@inf.enst.fr> (raw)
In-Reply-To: mailman.15.1048553469.20696.comp.lang.ada@ada.eu.org

>>>>> "sk" == sk  <noname@myob.com> writes:

sk> If you are using Gnat then look at the gnat preprocessor for
sk> methods on how to compile different parts of the code for each
sk> platform.

Rather than using a preprocessor which is really a "non-Ada" way of
doing things, I would suggest using a package with two versions of the
body (and even two version of the spec if the private part is
different).

A link or a copy in the build procedure should do the job.

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam



  reply	other threads:[~2003-03-25 10:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-24 23:55 Detecting the OS type before clearing screen Redy RAMAMONJISOA
2003-03-25  0:58 ` sk
2003-03-25 10:24   ` Samuel Tardieu [this message]
2003-03-25 11:19     ` sk
2003-03-25 12:47       ` Lutz Donnerhacke
2003-03-25 14:26         ` SIMON Claude
2003-03-25 14:33           ` Lutz Donnerhacke
2003-03-25 21:48             ` Wojtek Narczynski
2003-03-25 12:25   ` Wojtek Narczynski
2003-03-25 17:27 ` Warren W. Gay VE3WWG
2003-03-25 20:54 ` sk
2003-03-26 18:43   ` Randy Brukardt
2003-03-26 20:36   ` Simon Wright
replies disabled

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