delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/16/20:34:25

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10112170136.AA25362@clio.rice.edu>
Subject: Building bash 2.05a under 2.03 refresh
To: snowball3 AT softhome DOT net
Date: Sun, 16 Dec 2001 19:36:04 -0600 (CST)
Cc: djgpp-workers AT delorie DOT com (DJGPP developers)
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

I've been able to build 2.05a with the 2.03 refresh.  I'm not sure how
well it works yet, but I wanted to tell you what I did and get feedback.

1) In the build process, it can't find bashversion.  I had to manually
   edit the makefile and replace all back slashes with forward slashes
   in the environment variable BUILD_DIR.
2) bshspawn.c uses libc/getdinfo.h at the very end.  There is no code
   active after the include (an #if 0) - so I removed this (since it
   does not exist in V2.03).  If it's needed for the #if 0 code it
   should probably be moved inside the if.
3) __djgpp_spawn does not exist in V2.03, so at the top of the file 
   I added #define __djgpp_spawn(m,p,a,e,f) __spawnve(m,p,a,e)
   While this may cause some extra searches for extensions, it should
   work (?) - or at least seems to on simple tests.  It would be 
   simple to add an ifdef based on version for __djgpp_spawn if the
   distribution was to support building with 2.03.
   
Comments?

- Raw text -


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