Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Fri, 10 Mar 2000 21:18:43 -0500
To: cygwin@sourceware.cygnus.com
Subject: Re: Building joe 2.8 with gcc 2.95.2
Message-ID: <20000310211843.A1280@cygnus.com>
Reply-To: cygwin@sourceware.cygnus.com
Mail-Followup-To: cgf@cygnus.com, cygwin@sourceware.cygnus.com
References: <zSZy4w8Z7KrT092yn@netcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@sourceware.cygnus.com

