Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <005001be81bd$822aaef0$29acdfd0@InspirePharm.Com> From: "Suhaib M. Siddiqi" To: "Sven Wastlund" Cc: References: <199904081152 DOT NAA08021 AT epkws1038 DOT epk DOT ericsson DOT se> Subject: Re: A few questions. Date: Thu, 8 Apr 1999 08:44:09 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id IAA32541 > I am porting a program from UNIX to NT. > > 1. When I try to link with libc.a I get multiple defenitions of 'environ' and '_impure_ptr', one defined in libc.a and the other in libcygwin.a. Does anybody know what to do? > Does libc.a use libcygwin.a ? Do not use libc.a They are already in libcygwin.a. > > 2. Which cygwin library should I use when working with sockets, I meen when you port a program from UNIX to NT that uses sockets. > -lwsock32.a but AF_UNIX sockets are not supported. > 3. Has anybody ported a program from UNIX that uses RPC, and if so what package did you use? > Yes, I had compiled a few packages which use ONC-RPC/XDR. You will need ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Vinschen_Corinna/B20/sunrpc-4.0cygwin1.bin.tar.gz and http://www.ipass.net/~ssiddiqi, if you are calling XDR routines from Fortran --Suhaib > Thanx. > > Sven. > > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com