delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-Id: | <6.1.1.1.2.20040625100102.02901e20@wheresmymailserver.com> |
X-Sender: | |
Date: | Fri, 25 Jun 2004 10:14:07 -0700 |
To: | cygwin AT cygwin DOT com |
From: | TC <cygwin04 AT timcollins DOT com> |
Subject: | Newbie How to get source (e.g. wc.c) |
Mime-Version: | 1.0 |
Hello All, Question: How can I find source to various utilities such as word count's wc? I am a newbie, want to learn C, and like the "by example" approach reviewing code. (I also have Kernighan & Ritchie's The C Programming Language which is quite helpful and refreshingly concise.) Cygwin is installed and working well. "which wc" returns /usr/bin/wc. The /usr/src directory is emtpy. Ran setup.exe to see if I am missing something, but cannot find a "source" option - nor for that matter can I even find the "wc" program (it must be a component of a larger package). Followed the instructions at http://cygwin.com/cvs.html to get the source, but the site states it contains "the core Cygwin libraries and utilities (winsup and newlib)" and thus none of the "simpler" utilities such as "wc" could be found. Any help would be appreciated. Thanks for your patience. TC -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |