delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/24/10:21:25

X-Spam-Check-By: sourceware.org
X-YMail-OSG: 61nhx74VM1n1Sm4njfFv4uj8ylyxCujEu6gJNmSEvNbBxg0P1xREmB5TYaFe8P_LAWFEOA89FpnVoMsgii1ZEb45FjmrD.DdHlX9.RGHvHkBnLTkPio-
Date: Fri, 24 Aug 2007 07:20:55 -0700 (PDT)
From: Keith Christian <keithchristian AT yahoo DOT com>
Subject: Possible error in http://cygwin.com/cygwin-ug-net/dll.html
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <730970.51097.qm@web55911.mail.re3.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.

==========Keith

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019