From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tim Prince" To: "peter karlsson" , Subject: Re: Porting OS/2 EMX __findfirst / __findnext Date: Tue, 11 Apr 2000 07:30:00 -0000 Message-id: <00a901bfa3c2$87a8c1f0$7d0f4dd1@TIMYX18EWDT6RQ> References: X-SW-Source: 2000-04/msg00131.html autoconf doesn't need porting; it installs "out of the box." ----- Original Message ----- From: "peter karlsson" To: Sent: Tuesday, April 11, 2000 6:37 AM Subject: Porting OS/2 EMX __findfirst / __findnext > Hi! > > I have a program that is originally written for EMX, and it uses > findfirst/findnext to read diretories. When I ported it to Linux, I used > opendir/readdir, but since that requires extra overhead (with filtering out > the files I actually want), I want to use findfirst/findnext also under > CygWin. > > I found prototypes for _findfirst and _findnext in mingw32/dir.h, but it > doesn't compile with those, even when I try to include -lmingw32 to the gcc > command line. It *did* compile with -lcrtdll, but then the program crashes > with an unhandled exception on startup. > > The program in question is a console-mode application. > > > I am using a configure script to try to figure out what is available or not, > has anyone ported autconf to work with Cygwin? > > > Also, is there any documentation that is downloadable (as opposed to the > several-HTML-document things on the Cygnus website)? > > > Please reply with a Cc to my address, since I have not decided whether to > start to subscribe to this mailinglist yet... > > Thanks in advance! > -- > \\// > peter - http://www.softwolves.pp.se/ > > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe@sourceware.cygnus.com > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com