delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/20/13:57:26

Date: Wed, 20 Jun 2001 20:06:21 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Laurynas Biveinis" <lauras AT softhome DOT net>
Message-Id: <3395-Wed20Jun2001200621+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <20010620113212.A16882@lauras.lt>
Subject: Re: bash 2.04 build failure?
References: <20010620113212 DOT A16882 AT lauras DOT lt>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Laurynas Biveinis" <lauras AT softhome DOT net>
> Date: Wed, 20 Jun 2001 11:32:12 +0200
>
> making lib/dos/libdos.a in ./lib/dos
> make.exe[1]: Entering directory `c:/djgpp/gnu/bash-2.04/lib/dos'
> gcc -c  -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL  -march=i686 -O2 -fomit-frame-pointer -fstrict-aliasing   dosexec.c
> dosexec.c:370: conflicting types for `_dos_exec'
> c:/djgpp/include/process.h:15: previous declaration of `_dos_exec'

That's because dosexec.c in the library sources now has the code to
support invocation of Windows programs with long command lines via
CMDLINE environment variable.  This change required an addition of
another argument to _dos_exec, so now the prototype in process.h and
in Bash disagree.

I guess Bash should incorporate the code which supports CMDLINE.
Unless this is done, you can't build Bash with CVS libc, because
library functions which call _dos_exec will crash due to mismatch in
the argument list.

- Raw text -


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