Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-Authentication-Warning: modi.xraylith.wisc.edu: khan owned process doing -bs Date: Mon, 5 Apr 1999 10:59:25 -0500 (CDT) From: Mumit Khan To: Igor Sheyn cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: geteuid() / -mno-cygwin In-Reply-To: <199904051449.KAA04251@csa.bu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 5 Apr 1999, Igor Sheyn wrote: > > I'm trying to compile ( with -mno-cygwin flag ) a program, which contains, > among others, geteuid() call. I'm getting an error, however, that symbol > geteuid is not found. It works fine without -mno-cygwin flag. > > Is it normal behavior? Is there something I can do to make it work with > -mno-cygwin? > If the link step complains, then it's not implemented by MS runtime. This is especially true for non-ANSI functions such as getuid. Remember that MS runtime is NOT POSIX. You'll need to write these for win32 if you have to have them. I believe Perl sources have some of these, so you may want to look there first. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com