delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/10/21:19:53

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Fri, 10 Mar 2000 21:18:43 -0500
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Building joe 2.8 with gcc 2.95.2
Message-ID: <20000310211843.A1280@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com, cygwin AT sourceware DOT cygnus DOT com
References: <zSZy4w8Z7KrT092yn AT netcom DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.1.8i
In-Reply-To: <zSZy4w8Z7KrT092yn@netcom.com>; from jhurwit@netcom.com on Fri, Mar 10, 2000 at 04:34:59PM -0800

On Fri, Mar 10, 2000 at 04:34:59PM -0800, Jeff wrote:
>Ok.  Well, the prototype from stat.h
>
>int     _EXFUN(mkdir,( const char *_path, mode_t __mode ));
>
>appears to take two arguments, and the relevant lines in dir c
>
>int mkdir(s)
>char *s;
> {
>
>Has only one.  I don't know if this is the problem, but I know that joe
>built just fine with the compiler that originally came with Cygwin 20.1
>(egcs-2.91.57, if one is to believe the directory name).  I didn't keep
>that build of joe because it was unstable and did some quirky things; I
>was hoping to get better results with a later CYGWIN1.DLL and gcc.  Any
>help greatly appreciated.

mkdir takes two arguments on UNIX.  That's how it works.  I'm not sure
what is happening in joe but, usually, something like a mkdir() function
is only compiled in when there is no corresponding function in the C
library, although, I don't know how there could possibly be a workaround
for a missing mkdir.

You need to examine the source more thoroughly and figure out what is
going on.  This would be a problem on nearly any UNIX system that it was
compiled on, too.

cgf

--
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