A question on cygwin

Corinna Vinschen cygwin@cygwin.com
Wed Jun 13 02:00:00 GMT 2001

On Tue, Jun 12, 2001 at 07:17:28PM -0700, Kumar, Narendira wrote:
> Hello,
> I'm Narendira from LA. I had a question with cygwin environment. I would be
> very grateful to you, if you looked into it.
> I'm currently using cygwin to compile a product on WinNt. In prior, the same
> product was successfully compiled for SunOS.
> With Cygwin environment, the compilation is through, but problem starts when
> linking. I have specified linking options "-lpthread -lposix4 -lsocket" (as
> valid for SunOS), which as a result with cygwin env. has no relevant library
> files. The equivalent files in Sun machines would be "libpthread.so,
> libposix4.so, libsocket.a".
> Can you please suggest to workaround this problem. Thanks indeed.

Interesting question. Why didn't you simply try to drop the -l options
when linking?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list