Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Sat, 28 Jun 2003 08:56:17 +0100 From: Elfyn McBratney X-X-Sender: elfyn AT ellixia To: Vikram Mehta cc: cygwin AT cygwin DOT com Subject: RE: _stderr, _stdout, _errno etc. In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII [ Please keep replies on list. I set the Reply-to for a reason ] On Sat, 28 Jun 2003, Vikram Mehta wrote: > Hi Elfyn, > > Thanx. > > Reinstalled gcc and it works > > Now can u suggest what I do abt dirname and getline For dirname, wait. We don't have it, do it's not there (yet). getline, on the other hand, is available. Just include `stdio.h' and use it. > > > > Hi folks > > > > > > > > I am trying to compile a file using gcc oin CYGWIN > > > > I get undefined refrences to _sdterr, _stdout, dirname, _errno , > > > > fputc_unlocked etc. > > > > > > > > Can you tell me what library are they in > > > >basename and dirname (aka libgen) has not yet made it into Cygwin. They > >will be > >available in the next in one of the upcoming 1.5 releases. When they are > >available, you will need to include 'libgen.h'. For the errno and > >std{err,in,out} symbols you need to include 'errno.h' and 'stdio.h' > >respectively. Elfyn -- -- 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/