comp.lang.ada
 help / color / mirror / Atom feed
From: Alex <jrz_dont_want@spam.free.fr>
Subject: Importing some special C functions
Date: Thu, 8 Apr 2004 07:22:04 -0000
Date: 2004-04-08T10:04:17+02:00	[thread overview]
Message-ID: <slrnc79vcs.7vd.JrZ@JrZ.Home.net> (raw)

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.

Thanks in advance,

-- 
Alex



             reply	other threads:[~2004-04-08  7:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-08  7:22 Alex [this message]
2004-04-08  9:06 ` Importing some special C functions Martin Krischik
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox