Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 13 Jun 2001 11:00:41 +0200 From: Corinna Vinschen To: "'cygwin AT cygwin DOT com'" Subject: Re: A question on cygwin Message-ID: <20010613110041.E1144@cygbert.vinschen.de> Mail-Followup-To: "'cygwin AT cygwin DOT com'" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from n_kumar@trillium.com on Tue, Jun 12, 2001 at 07:17:28PM -0700 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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple