Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3DFF431E.7D2825C0@phekda.freeserve.co.uk> Date: Tue, 17 Dec 2002 15:30:38 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: gcc -lnsl References: <3DFF23D5 DOT 772F83FF AT cisco DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. James Testa wrote: > I have a program that I am porting that compiles > under Unix using the -lnsl library. Where do I get > the "nsl" library for DJGPP? I think nsl is the name resolution library. You will need one of the sockets libraries for DJGPP such as Watt-32, to get the name resolution functions. But none of these libraries puts these functions in libnsl.a IIRC - they are probably in libsocket.a. See the DJGPP FAQ section 22.4 (IIRC) at http://www.delorie.com/djgpp/ for a list of libraries. BTW you should ask this kind of question in the newsgroup comp.os.msdos.djgpp (which you can also reach by e-mail via djgpp AT delorie DOT com). Regards, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]