A few questions.

Mumit Khan khan@xraylith.wisc.EDU
Fri Apr 30 18:32:00 GMT 1999


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /