comp.lang.ada
 help / color / mirror / Atom feed
From: sk <noname@myob.com>
To: "comp.lang.ada mail to news gateway" <comp.lang.ada@ada.eu.org>
Subject: Re: Detecting the OS type before clearing screen
Date: Mon, 24 Mar 2003 18:58:09 -0600
Date: 2003-03-24T18:58:09-06:00	[thread overview]
Message-ID: <mailman.15.1048553469.20696.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: e04419ef.0303241555.4627d1fd@posting.google.com

Hi,

 > ... which operating system my binary file is executed.

I cannot think of circumstances where it is sensible to
expect one binary to be able to run on both on Linux and
Windows.

This is a compile time issue and depends upon the libraries
used (either windows libraries when on windows, Linux
libraries when on Linux).

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

-- 
-------------------------------------------------
-- Merge vertically for real address
--
--     s n p @ t . o
--      k i e k c c m
-------------------------------------------------




  reply	other threads:[~2003-03-25  0:58 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 [this message]
2003-03-25 10:24   ` Samuel Tardieu
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