From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.140.157.69 with SMTP id d66mr23881795qhd.13.1458572869044; Mon, 21 Mar 2016 08:07:49 -0700 (PDT) X-Received: by 10.182.125.37 with SMTP id mn5mr343596obb.10.1458572868966; Mon, 21 Mar 2016 08:07:48 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!y89no8439410qge.0!news-out.google.com!u9ni3812igk.0!nntp.google.com!nt3no3545373igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 21 Mar 2016 08:07:48 -0700 (PDT) In-Reply-To: <56eff4a4$0$4238$e4fe514c@news.kpn.nl> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=57.79.21.1; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 57.79.21.1 References: <56eff4a4$0$4238$e4fe514c@news.kpn.nl> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9a44496c-86ef-4303-abae-5d39a9cb5c61@googlegroups.com> Subject: Re: Operating System differences and Ada OS independent programming From: gautier_niouzes@hotmail.com Injection-Date: Mon, 21 Mar 2016 15:07:49 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:29836 Date: 2016-03-21T08:07:48-07:00 List-Id: On Monday, March 21, 2016 at 2:18:08 PM UTC+1, ldries46 wrote: > For example a file can be in Windows on: ..\..\name and on Linux on=20 > ../../name Often it is preferable to use relative paths, and many Windows run-times (o= r perhaps Windows itself) understand "../../name", so you can do much with = Unix-like relative paths. For calling an executable in current directory in= Unix you need, IIRC, "./myprog"; this command should do the job on Windows= as well. And observe the casing in order to have it running on Unix or Lin= ux. With some trial-and-error you may find a comfortable common denominator. _________________________ Gautier's Ada programming http://gautiersblog.blogspot.com/search/label/Ada NB: follow the above link for a valid e-mail address=20