delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/08/10:51:47

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: <199904081444.JAA12464@modi.xraylith.wisc.edu>
X-Authentication-Warning: modi.xraylith.wisc.edu: localhost.xraylith.wisc.edu [127.0.0.1] didn't use HELO protocol
To: Sven DOT Wastlund AT epkadm DOT epk DOT ericsson DOT se (Sven Wastlund)
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: A few questions.
In-reply-to: Your message of "Thu, 08 Apr 1999 13:52:07 +0200."
<199904081152 DOT NAA08021 AT epkws1038 DOT epk DOT ericsson DOT se>
Date: Thu, 08 Apr 1999 09:44:34 -0500
From: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>

Sven DOT Wastlund AT epkadm DOT epk DOT ericsson DOT se (Sven Wastlund) writes:
> 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 anyb
> ody know what to do? 
> Does libc.a use libcygwin.a ?

Don't explicitly link libc.a; it's all in libcygwin.a, which is the import
library for the runtime. Just leave out any explicit -lc.

> 2. Which cygwin library should I use when working with sockets, I meen when y
> ou port a program from UNIX to NT that uses sockets.

Just use libcygwin.a.

> 3. Has anybody ported a program from UNIX that uses RPC, and if so what packa
> ge did you use?

Search the mailing list for mention of ONC RPC.

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019