comp.lang.ada
 help / color / mirror / Atom feed
* Importing some special C functions
@ 2004-04-08  7:22 Alex
  2004-04-08  9:06 ` Martin Krischik
  0 siblings, 1 reply; 2+ messages in thread
From: Alex @ 2004-04-08  7:22 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-08  9:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-08  7:22 Importing some special C functions Alex
2004-04-08  9:06 ` Martin Krischik

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