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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,ed4552e228419ca1 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109 Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!news.mixmin.net!.POSTED!not-for-mail From: Oliver Kleinke Newsgroups: comp.lang.ada Subject: Re: Passing shell arguments to Ada programs the Linux way Date: Mon, 4 Jul 2011 18:59:01 +0200 Organization: Mixmin Message-ID: <20110704185901.4ef4488a@C-01b> References: <958e152b-8b68-4381-9393-6b21e9c61eda@b2g2000vbo.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: news.mixmin.net; posting-host="df9a4c129486721f3e32ae5d62c04c0b"; logging-data="11362"; mail-complaints-to="abuse@mixmin.net" X-Newsreader: Claws Mail 3.7.9 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Xref: g2news1.google.com comp.lang.ada:20074 Date: 2011-07-04T18:59:01+02:00 List-Id: Err, excuse me but nanos gigantium humeris insidentes? Am Sun, 3 Jul 2011 05:44:07 +0000 (UTC) schrieb anon@att.net: > Ada is defined as an "Operating System independent" language. Which > means if it works in Linux it MUST work for all Operating Systems not > just Linux. > > And most want their programs to work in Linux, Windows, etc. So, for > Ada users we process the "command line" by the definition set in the > RM by using the package "Ada.Command_Line". > > In other way, is a waste of time for Ada users. > > Note: As for "GNAT.Command_Line", well it can only be found in > Adacore's GNAT Ada. Which some will say it not a standard RM Ada > package, so why use it. because it might disappear next year. Which > means the programmer may have to support that package that they do > not fully understand. The problem with Adacore's non RM packages > (GNAT.*, and a lot of System.*) is that they are to "Operating > System" dependant. > > Also, "Ada.Command_Line" will work for Linux 3.x. Will these others > packages, that's the question. This is the problem when designing > packages for Linux at the end of a major design steam such as Linux > 0.x, 1.x and 2,x and now 3.x. > > > In , Simon Wright > writes: > >A famous IT technical writer writes: > > > >> You may find a solution on how to pass shell arguments to an Ada > >> program the Linux way. The code has been tested on Linux. As it > >> makes use of the GCC suite, the code is usable under any operating > >> system which implements the GCC suite. > > > >GNAT users could also look at GNAT.Command_Line. >