delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/11/08:38:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Tue, 11 Apr 2000 15:37:11 +0200 (CEST)
From: peter karlsson <peter AT softwolves DOT pp DOT se>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Porting OS/2 EMX __findfirst / __findnext
Message-ID: <Pine.LNX.4.21.0004111532270.11396-100000@ds9.cixit.se>
X-Warning: Junk / bulk email will be reported
X-Rating: This message is not to be eaten by humans
Organization: /universe/earth/europe/norway/oslo
MIME-Version: 1.0

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019