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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f1c15b8895105c4d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-08 02:16:12 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Importing some special C functions Date: Thu, 08 Apr 2004 11:06:23 +0200 Organization: AdaCL Message-ID: <1686529.ozkBoNCY1k@linux1.krischik.com> References: Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1081415603 00 11343 jx4qGV66IEyaxLF 040408 09:13:23 X-Complaints-To: usenet-abuse@t-online.de X-ID: T5bfcvZdQeiI2Y0UFvQwW726SkzH8YyT90SsOvYRV61MLiWJsyiyQo User-Agent: KNode/0.7.7 Xref: archiver1.google.com comp.lang.ada:6838 Date: 2004-04-08T11:06:23+02:00 List-Id: Alex wrote: > Hello, > > I'm under windows, and I'm using GNAT 3.15p. > > I'd like to access serial links, but without using Win32 Bindings. > > so, I have to import C functions like read, write, open, and select. > For most of them, I did not encounter problem. > I suppose the linker uses the C functions it has in the gnat C library. > But it fails for the select function : the linker can't find it. > So, I suppose there is no select function in the C library of Gnat. > > That's why I'm asking help about how to do that ? I mean, how making > Gnat importing C functions ? > > I've got Cygwin installed, so I guess I could use its C library. But no > idea how to do it. > > If someone could help, it would be great. Take a look at: http://adacl.sourceforge.net/html/______Include__Linux__adacl-os-low_level__ads.htm With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com