delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/05/13:46:22

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 <khan AT xraylith DOT wisc DOT edu>
To: Igor Sheyn <sheyn AT cs DOT bu DOT edu>
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: geteuid() / -mno-cygwin
In-Reply-To: <199904051449.KAA04251@csa.bu.edu>
Message-ID: <Pine.SUN.3.93.990405105309.3959C-100000@modi.xraylith.wisc.edu>
MIME-Version: 1.0

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

- Raw text -


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