Mail Archives: cygwin/2003/06/28/03:56:37
[ 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/
- Raw text -