comp.lang.ada
 help / color / mirror / Atom feed
From: Austin Obyrne <austin.obyrne@hotmail.com>
Subject: Re: Will Ada-95 Programs Written in MS Windows Run in MacOS and Linux Without Some Tweaking.
Date: Sat, 7 Dec 2013 06:08:37 -0800 (PST)
Date: 2013-12-07T06:08:37-08:00	[thread overview]
Message-ID: <436b7728-85f4-4b39-b652-5a4eec7c9f80@googlegroups.com> (raw)
In-Reply-To: <lybo0s6bu2.fsf@pushface.org>

On Saturday, December 7, 2013 1:16:05 PM UTC, Simon Wright wrote:
> Austin Obyrne <austin.obyrne@hotmail.com> writes: > My Ada-95 text book came first day - 10 years ago - with a selection > of compilers for Windows, MacOS and Linux. Having a Windows operating > system I automatically installed the Windows compiler from the three > and all has gone very well up to now. That compiler was the gnat > 311.p version. My ciphers written in Ada-95 for Microsoft Windows are > complete and working very well now after years of work. I now want to > get them to run in Macos and/or Linux also. > > It would be naïve to think that they will run in Macos also just by > installing that compiler and ditto for Linux – it would be great if > they did?. > > Before I spend any more money (in short supply) on getting Macos and > Linux equipment could anybody who has experience of doing this tell me > if the programs written for Windows will run in Macos and/or Linux > straight off and if the Windows program source code requires any > modification or even if it runs at all. I just downloaded your Vector Cipher_2 zip file (and deleted all the .o, .ali, .exe and b_*.c files!) and, using GNAT GPL 2013 on Mac OS X, compiled & built real_time_encryption_program_mark_2 with three warnings: real_time_encryption_program_mark_2.adb:589:12: warning: unary minus expression should be parenthesized here real_time_encryption_program_mark_2.adb:612:08: warning: unary minus expression should be parenthesized here real_time_encryption_program_mark_2.adb:743:22: warning: "PlainTextNum" may be referenced before it has a value (there were a lot more with -gnatwa, enable all common warnings) so I think you should be in good shape. Mind you, I didn't run it since I didn't see any obvious instructions on how to run what look like test cases. Before spending any money, why not download the latest GNAT for Windows from libre.adacore.com and try that? Ada code tends to be very portable. I'd strongly recommend not bothering with the Linux or Mac compilers from your textbook; 3.11p is very old, and the Mac version at least won't even run on recent Macs.

Apologies for getting your name wrong (got it mixed up with Mark_2)

Thanks again.

Austin

  parent reply	other threads:[~2013-12-07 14:08 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-07 12:24 Will Ada-95 Programs Written in MS Windows Run in MacOS and Linux Without Some Tweaking Austin Obyrne
2013-12-07 13:16 ` Simon Wright
2013-12-07 14:01   ` Austin Obyrne
2013-12-07 17:18     ` Simon Wright
2013-12-07 18:26       ` Austin Obyrne
2013-12-08 17:17         ` Simon Wright
2013-12-08 18:17           ` Jeffrey Carter
2013-12-08 20:00             ` Simon Wright
2013-12-08 21:20               ` Jeffrey Carter
2013-12-08 18:44           ` Austin Obyrne
2013-12-08 20:10             ` Simon Wright
2013-12-08 20:31               ` Austin Obyrne
2013-12-08 22:39               ` Austin Obyrne
2013-12-16 11:46                 ` Simon Wright
2013-12-16 19:00                   ` Austin Obyrne
2013-12-16 21:19                     ` Simon Wright
2013-12-16 21:40                       ` Austin Obyrne
2013-12-18  4:44                       ` Austin Obyrne
2013-12-18  8:35                         ` Simon Wright
2013-12-18  9:54                           ` Austin Obyrne
2013-12-18  4:57                       ` Austin Obyrne
2013-12-18  8:55                         ` Simon Wright
2013-12-18  5:38                       ` Austin Obyrne
2013-12-18  9:02                         ` Simon Wright
2013-12-18 13:02                           ` Austin Obyrne
2013-12-16 19:24                   ` Austin Obyrne
2013-12-17  9:06                   ` Austin Obyrne
2013-12-08 20:01           ` Simon Wright
2013-12-10  6:37           ` Randy Brukardt
2013-12-10 10:14             ` Austin Obyrne
2013-12-10 11:39             ` Austin Obyrne
2013-12-10 21:49               ` Randy Brukardt
2013-12-10 23:08                 ` Binary versus text and compiler versions, was: " Simon Clubley
2013-12-11  8:35                   ` Dmitry A. Kazakov
2013-12-11 12:50                     ` Simon Clubley
2013-12-11 13:29                       ` Dmitry A. Kazakov
2013-12-11 14:20                         ` Simon Wright
2013-12-11 18:25                           ` Simon Clubley
2013-12-11 14:53                     ` G.B.
2013-12-11 15:14                       ` Eryndlia Mavourneen
2013-12-11 16:07                         ` Austin Obyrne
2013-12-11 16:26                           ` Eryndlia Mavourneen
2013-12-11 17:37                             ` Austin Obyrne
2013-12-11 17:54                               ` Eryndlia Mavourneen
2013-12-12  1:55                                 ` Austin Obyrne
2013-12-11 16:54                         ` G.B.
2013-12-11 11:37                   ` Austin Obyrne
2013-12-12 19:23                     ` erlo
2013-12-11 10:35                 ` Austin Obyrne
2013-12-11  0:34             ` Simon Wright
2013-12-11  1:01               ` Jeffrey Carter
2013-12-11  8:38                 ` Simon Wright
2013-12-11 17:07                   ` Simon Wright
2013-12-11  8:49               ` Simon Wright
2013-12-07 22:49       ` Austin Obyrne
2013-12-07 14:08   ` Austin Obyrne [this message]
2013-12-08 20:06 ` Stephen Leake
replies disabled

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