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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1d2725bc3d38c7d1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-10 14:55:07 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail From: Dale Stanbrough Newsgroups: comp.lang.ada Subject: Re: System Calls Organization: RMIT References: User-Agent: MT-NewsWatcher/3.1 (PPC) Message-ID: Date: Tue, 10 Jul 2001 21:55:06 GMT NNTP-Posting-Host: 144.132.94.47 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 994802106 144.132.94.47 (Wed, 11 Jul 2001 07:55:06 EST) NNTP-Posting-Date: Wed, 11 Jul 2001 07:55:06 EST Xref: archiver1.google.com comp.lang.ada:9743 Date: 2001-07-10T21:55:06+00:00 List-Id: Matt Raikes wrote: > I am attempting to call a Unix(gzip) executable with in my Ada code, > must I go through a pragma or there an easier way of doing that.. > Thanks in advance. You (obviously) need to call the operating system to do this. Unix requires a C -calling convention- (not for you to call from a C program), and this can be done from Ada by using the appropriate pragrams. Prebuilt solutions include the Posix interface Florist, and a couple of others that are about. If you know Ada it's not a very hard job to create such a binding. Dale