Date: Thu, 8 Apr 1999 15:57:23 +0530 (IST) From: Gurunandan R Bhat To: Hans-Bernhard Broeker cc: djgpp-workers AT delorie DOT com Subject: Re: Can (was Re: Cannot) build linux-x-dos cross-compiler In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 8 Apr 1999, Hans-Bernhard Broeker wrote: > > On Sun, 4 Apr 1999, Gurunandan R Bhat wrote: > > > > > 1. ldscripts are incorrectly built if I use bash2.0 (on SuSE 5.3). The > > > genscripts.sh adds multiple braces. I solved this by reverting back to > > > bash1. > but the real bug is in the script that generates the ldscripts. I > can't remember the details off-hand, but I recall my conclusion at the > time to have been that the ldscript generator, a sh script, only ever > worked because bash *1* had a bug in its handling of nested > ${var:value} constructs containing additional '{' or '}' characters. The script is simple enough and the bug there was not obviously clear to me. For example, both bash versions produce the correct scripts (atleast as far as matching braces are concerned) for other i386 formats in the template subdirectory. I am currently building bash-2.03 to see what happens and will keep you posted. Thank you for your interest Gurunandan