Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 27 Jun 2003 23:50:28 +0100
From: Elfyn McBratney <elfyn@cygwin.com>
X-X-Sender: elfyn@ellixia
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: RE: _stderr, _stdout, _errno etc.
In-Reply-To: <NGBBLLIAMFLGJEOAJCCECEDHDBAA.garbage_collector@telia.com>
Message-ID: <Pine.CYG.4.55.0306272347260.3272@ellixia>
References: <NGBBLLIAMFLGJEOAJCCECEDHDBAA.garbage_collector@telia.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

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

