This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
Re: A few questions.
- To: Sven.Wastlund@epkadm.epk.ericsson.se (Sven Wastlund)
- Subject: Re: A few questions.
- From: Mumit Khan <khan@xraylith.wisc.EDU>
- Date: Thu, 08 Apr 1999 09:44:34 -0500
- cc: cygwin@sourceware.cygnus.com
Sven.Wastlund@epkadm.epk.ericsson.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@sourceware.cygnus.com