comp.lang.ada
 help / color / mirror / Atom feed
From: sjs@essex.ac.uk (Dr Steve Sangwine)
Subject: Re: How to link a .lib to ada program?
Date: Thu, 17 Oct 2002 13:26:25 +0100
Date: 2002-10-17T13:26:25+01:00	[thread overview]
Message-ID: <3daeabd5.14907415@news.essex.ac.uk> (raw)
In-Reply-To: afeeab2eb61d12439e555aafac15cb97.110780@mygate.mailgate.org

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




      reply	other threads:[~2002-10-17 12:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-16 15:59 How to link a .lib to ada program? Sim Con
2002-10-17 12:26 ` Dr Steve Sangwine [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