X-Spam-Check-By: sourceware.org Date: Fri, 24 Aug 2007 10:54:08 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Possible error in http://cygwin.com/cygwin-ug-net/dll.html Message-ID: <20070824145408.GE14270@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <730970 DOT 51097 DOT qm AT web55911 DOT mail DOT re3 DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <730970.51097.qm@web55911.mail.re3.yahoo.com> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Fri, Aug 24, 2007 at 07:20:55AM -0700, Keith Christian wrote: >This line in http://cygwin.com/cygwin-ug-net/dll.html seems to have an error: > >gcc -o myprog myprog.ca -L./ -lmydll >----------------------^ > >It seems it should be: > >gcc -o myprog myprog.c -L./ -lmydll > >Using "myprog.c" instead of "myprog.ca" allows it to compile to an .EXE which >executes successfully. I've fixed this in the sources. It will show up the next time someone refreshes the documentation on the web site. Thanks for the heads up. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/