From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Importing some special C functions
Date: Thu, 08 Apr 2004 11:06:23 +0200
Date: 2004-04-08T11:06:23+02:00 [thread overview]
Message-ID: <1686529.ozkBoNCY1k@linux1.krischik.com> (raw)
In-Reply-To: slrnc79vcs.7vd.JrZ@JrZ.Home.net
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
prev parent reply other threads:[~2004-04-08 9:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-08 7:22 Importing some special C functions Alex
2004-04-08 9:06 ` Martin Krischik [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox