comp.lang.ada
 help / color / mirror / Atom feed
* How to link a .lib to ada program?
@ 2002-10-16 15:59 Sim Con
  2002-10-17 12:26 ` Dr Steve Sangwine
  0 siblings, 1 reply; 2+ messages in thread
From: Sim Con @ 2002-10-16 15:59 UTC (permalink / raw)


HEllo! As in the subject , i need to link ws2_32.lib to an ada file, how
can i do? thanx in advance^_^


-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG



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

* Re: How to link a .lib to ada program?
  2002-10-16 15:59 How to link a .lib to ada program? Sim Con
@ 2002-10-17 12:26 ` Dr Steve Sangwine
  0 siblings, 0 replies; 2+ messages in thread
From: Dr Steve Sangwine @ 2002-10-17 12:26 UTC (permalink / raw)


On Wed, 16 Oct 2002 16:59:36 +0100, "Sim Con" <sicon@hotmail.com>
wrote:

>HEllo! As in the subject , i need to link ws2_32.lib to an ada file, how
>can i do? thanx in advance^_^

Depends on your compiler. If you are using Gnat look in the
documentation on the binary utilities, and read about the linker, ld.

At a different level, if you want to know how to interface Ada code to
the routines in the .lib file, you need to read Annex B of the Ada95
LRM.

Steve Sangwine
University of Essex, UK
>
>
>-- 
>Posted via Mailgate.ORG Server - http://www.Mailgate.ORG




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

end of thread, other threads:[~2002-10-17 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-16 15:59 How to link a .lib to ada program? Sim Con
2002-10-17 12:26 ` Dr Steve Sangwine

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