From: pavenis AT lanet DOT lv To: "Mark E." , djgpp-workers AT delorie DOT com Date: Tue, 30 May 2000 15:44:17 +0200 MIME-Version: 1.0 Content-type: Multipart/Mixed; boundary=Message-Boundary-9351 Subject: Re: Bash 2.04 beta 5 released Message-ID: <3933E1D1.5570.AD23C@localhost> In-reply-to: <39323742.24349.34191F@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) 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 Precedence: bulk --Message-Boundary-9351 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body On 29 May 2000, at 9:24, Mark E. wrote: > I have released Bash 2.04 beta 5 which corrects a number of problems: > > * Extension search was not being performed for commands with absolute paths. > * Fixed crash when PATH_EXPAND=Y. > * Fixed infinite loop when using read builtin. > * Fixed incorrectly running 'foo.sh' when trying to run 'foo' when both 'foo' > and 'foo.sh' exist in the same directory. > > Get it from http://members.xoom.com/snowball3/djgpp/ > Installed. Tried to build yesterdays CVS version of binutils ( binutils-2_10 branch). Configure failed. Replaced back bash.exe from 2.0.3 and after that no more problems. It doesn't look that I have used something which support were removed in 2.0.4 but maybe I have moissed something I'm including script I used and output from configure (I put 'set -x' at start of configure) in attachment (also fragment of output when bash-2.0.3 were used) Andris --Message-Boundary-9351 Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information. The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: build-binutils.sh Date: 30 May 2000, 15:15 Size: 5470 bytes. Type: Text --Message-Boundary-9351 Content-type: Application/Octet-stream; name="build-binutils.sh"; type=Text Content-disposition: attachment; filename="build-binutils.sh" #! /bin/sh ######################################################## # Edit the next line and specify actual version of # binutils (eg. VERSION=2.9.1 for binutils-2.9.1) # (or specify version in command line) ######################################################## # VERSION=${1-000529} # #------------------------------------------------------- # NAME=binutils-${VERSION} PWD=`pwd` CONF_OPT="--target=i586-pc-msdosdjgpp" PREFIX=/usr # #------------------------------------------------------- # HOST=`(cd binutils-$VERSION; ./config.guess)` ######################################################## # For native build we should check whether new features of # DJGPP v2.03 are supported. ######################################################## case ${HOST} in i[3456]86-*-msdosdjgpp) CONF_OPT="--target=${HOST}" ( echo '#include ' echo 'int main(void) { access("/dev/env/DJDIR/bin/gcc.exe",0) ? 0 : 1; }' ) | gcc -x c -O2 - -o ${TMPDIR}/test1.exe ${TMPDIR}/test1.exe && PREFIX=/dev/env/DJDIR rm ${TMPDIR}/test1.exe ;; esac # #------------------------------------------------------- # case ${VERSION} in 2.8.*|2.9.0) echo Version not supported. Exitting; exit 1;; 2.9.1) ;; *) CONF_OPT="$CONF_OPT --with-included-gettext --disable-nls" ;; esac # #------------------------------------------------------- # ( cd ${NAME} ######################################################## # For 2.9.1 we need some additional patches ######################################################## case ${VERSION} in 2.9.1) patch --verbose --backup -N -p1 << 'EOF' --- binutils-2.9.1/gas/config/te-go32.h.orig Fri May 1 15:44:48 1998 +++ binutils-2.9.1/gas/config/te-go32.h Thu Mar 4 20:13:56 1999 @@ -6,7 +6,7 @@ #define LOCAL_LABELS_FB 1 #define TARGET_FORMAT "coff-go32" - +#define TE_GO32 /* GAS should treat '.align value' as an alignment of 2**value */ #define USE_ALIGN_PTWO --- binutils-2.9.1/gas/config/tc-i386.h.orig Fri May 1 15:44:40 1998 +++ binutils-2.9.1/gas/config/tc-i386.h Thu Mar 4 20:13:56 1999 @@ -141,9 +141,11 @@ #ifndef BFD_ASSEMBLER #ifndef OBJ_AOUT #ifndef TE_PE +#ifndef TE_GO32 /* Local labels starts with .L */ #define LOCAL_LABEL(name) (name[0] == '.' \ && (name[1] == 'L' || name[1] == 'X' || name[1] == '.')) +#endif #endif #endif #endif EOF ;; esac ) ######################################################## case x-$HOST in x-*-pc-msdosdjgpp) CONFIG_SHELL=`echo 'echo $0' | bash.exe -` case ${CONFIG_SHELL} in *.exe) ;; *) CONFIG_SHELL=${CONFIG_SHELL}.exe; test -f ${CONFIG_SHELL} || exit 1 ;; esac; export CONFIG_SHELL export LD=ld export CC=gcc export ac_cv_prog_LN_S=cp export ac_cv_prog_LN=cp export AWK=gawk export am_cv_exeext=.exe export ac_cv_path_install="ginstall -c" export MSGFMT=msgfmt test -f $DJDIR/bin/msgfmt.exe && export ac_cv_path_MSGFMT=msgfmt test -f $DJDIR/bin/xgettext.exe && export ac_cv_path_XGETTEXT=xgettext export LEX=flex export RANLIB=ranlib CONF_OPT="--prefix=${PREFIX} --host=$HOST $CONF_OPT" DTOU=dtou INSTALL_DIR=`pwd | sed -e 's,[a-z][:],,g'`/install.djg ;; *) CONF_OPT="--prefix=${PREFIX} --disable-shared ${CONF_OPT}" DTOU=touch INSTALL_DIR=`pwd`/install.djg/usr ;; esac; # ( mkdir build.djg; mkdir install.djg; cd build.djg; case x-$HOST in x-*-pc-msdosdjgpp) echo CONFIG_SHELL=${CONFIG_SHELL} CFLAGS=-O2 PATH_SEPARATOR=: ../${NAME}/configure ${CONF_OPT}; for file in `find . -name 'libtool'`; do ${DTOU} $file; done ;; *) CFLAGS=-O2 ../${NAME}/configure ${CONF_OPT}; ;; esac; make; make install install-info prefix=${INSTALL_DIR} ) case x-$HOST in x-*-pc-msdosdjgpp) case ${VERSION} in 2.9.1) VER1=2.91; VER2=291b ;; *) VER1=${VERSION}; VER2=${VERSION} ;; esac; top=`pwd` cd install.djg mkdir manifest mkdir gnu mkdir gnu/bnu-${VER1} touch manifest/bnu-${VER2}.mft echo "bnu-${VER2}.zip : Binutils ${VERSION} binary archive for DJGPP" >manifest/bnu-${VER2}.ver cp ${top}/build-binutils.sh gnu/bnu-${VER1}/build-binutils.sh ############################################################################# # With LFN enabled info files are installed with names that are not valid # for MS-DOS. Let's fix that ############################################################################# for file in info/*.info*; do echo Processing $file case ${file} in *.info) cat $file | \ awk 'substr($0,1,9)=="Indirect:" { active=1; } \ substr($0,1,10)=="Tag Table:" { active=0; } \ { if (active) gsub("info-","i"); \ print $0 }' > $file; ;; *) mv ${file} `echo $file | sed -e 's,[.]info-,.i,g'` ;; esac done ############################################################################# # Strip executables ############################################################################# for file in bin/*.exe; do strip -v ${file} done ############################################################################# ( find man -type f find lib -name '*.a' find info -name '*.i*' find include -name '*.h' find bin -name '*.exe' echo manifest/bnu-${VER2}.mft echo manifest/bnu-${VER2}.ver echo gnu/bnu-${VER1}/build-binutils.sh ) | sort >manifest/bnu-${VER2}.mft zip -9 ../bnu-${VER2}.zip `cat manifest/bnu-${VER2}.mft` cd ${top} ;; *) # Building binary package not supported for cross-compiling ;; esac; --Message-Boundary-9351 Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information. The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: build.log Date: 30 May 2000, 15:12 Size: 4912 bytes. Type: Text --Message-Boundary-9351 Content-type: Application/Octet-stream; name="build.log"; type=Text Content-disposition: attachment; filename="build.log" C:/DJGPP/BIN/mkdir: cannot make directory `build.djg': File exists (EEXIST) C:/DJGPP/BIN/mkdir: cannot make directory `install.djg': File exists (EEXIST) CONFIG_SHELL=C:/DJGPP/BIN/bash.exe + export PATH + remove=rm + hard_link=ln + symbolic_link=ln -s + Makefile=Makefile + Makefile_in=Makefile.in + arguments= + build_alias= + cache_file=config.cache + cache_file_option= + configdirs= + extraconfigdirs= + diroptions= + exec_prefix= + exec_prefixoption= + fatal= + floating_point=default + gas=default + gcc_version= + gcc_version_trigger= + host_alias=NOHOST + host_makefile_frag= + moveifchange= + norecursion= + other_options= + package_makefile_frag= + package_makefile_rules_frag= + prefix=/usr/local + progname= + program_prefix= + program_prefixoption= + program_suffix= + program_suffixoption= + program_transform_name= + program_transform_nameoption= + redirect= + removing= + site= + site_makefile_frag= + site_option= + srcdir= + srctrigger= + subdirs= + target_alias=NOTARGET + target_makefile_frag= + undefs=NOUNDEFS + version=: 1.5 $ + x11=default + bindir=${exec_prefix}/bin + sbindir=${exec_prefix}/sbin + libexecdir=${exec_prefix}/libexec + datadir=${prefix}/share + sysconfdir=${prefix}/etc + sharedstatedir=${prefix}/com + localstatedir=${prefix}/var + libdir=${exec_prefix}/lib + includedir=${prefix}/include + oldincludedir=/usr/include + infodir=${prefix}/info + mandir=${prefix}/man + config_shell=C:/DJGPP/BIN/bash.exe + NO_EDIT=This file was generated automatically by configure. Do not edit. + progname=../binutils-000529/configure. + '[' -n /dev/c/devel/bnu/build.djg ']' ++ pwd + PWD=/dev/c/devel/bnu/build.djg + : + option=--prefix=/dev/env/DJDIR + shift + orig_option=--prefix=/dev/env/DJDIR ++ echo --prefix=/dev/env/DJDIR ++ sed -e 's/^[^=]*=//' + optarg=/dev/env/DJDIR + arguments= --prefix=/dev/env/DJDIR + prefix=/dev/env/DJDIR + prefixoption=--prefix=/dev/env/DJDIR + : + option=--host=i386-pc-msdosdjgpp + shift + orig_option=--host=i386-pc-msdosdjgpp ++ echo --host=i386-pc-msdosdjgpp ++ sed -e 's/^[^=]*=//' + optarg=i386-pc-msdosdjgpp + arguments= --prefix=/dev/env/DJDIR --host=i386-pc-msdosdjgpp + host_alias=i386-pc-msdosdjgpp + : + option=--target=i386-pc-msdosdjgpp + shift + orig_option=--target=i386-pc-msdosdjgpp ++ echo --target=i386-pc-msdosdjgpp ++ sed -e 's/^[^=]*=//' + optarg=i386-pc-msdosdjgpp + arguments= --prefix=/dev/env/DJDIR --host=i386-pc-msdosdjgpp --target=i386-pc-msdosdjgpp + target_alias=i386-pc-msdosdjgpp + : + option=--with-included-gettext + shift + orig_option=--with-included-gettext + arguments= --prefix=/dev/env/DJDIR --host=i386-pc-msdosdjgpp --target=i386-pc-msdosdjgpp --with-included-gettext + optarg=yes ++ echo --with-included-gettext ++ sed 's:^--::;s:=.*$::;s:-:_:g' + withopt=with_included_gettext + eval with_included_gettext=yes ++ with_included_gettext=yes + withoptions= --with-included-gettext + : + option=--disable-nls + shift + orig_option=--disable-nls + arguments= --prefix=/dev/env/DJDIR --host=i386-pc-msdosdjgpp --target=i386-pc-msdosdjgpp --with-included-gettext --disable-nls ++ echo --disable-nls ++ sed 's:^--disable-:enable_:;s:-:_:g' + enableopt=enable_nls + eval enable_nls=no ++ enable_nls=no + disableoptions= --disable-nls + : + break + '[' -n '' -o i386-pc-msdosdjgpp = help ']' ++ echo ../binutils-000529/configure. ++ sed 's/configure$/config.sub/' + configsub=../binutils-000529/configure. ++ echo ../binutils-000529/configure. ++ sed 's/configure$/move-if-change/' + moveifchange=../binutils-000529/configure. +++ dirname ../binutils-000529/configure. ++ cd ../binutils-000529 ++ pwd + topsrcdir=/dev/c/devel/bnu/binutils-000529 + C:/DJGPP/BIN/bash.exe ../binutils-000529/configure. sun4 + echo '***' cannot find config.sub. *** cannot find config.sub. + exit 1 make.exe: *** No targets specified and no makefile found. Stop. make.exe: *** No rule to make target `install'. Stop. C:/DJGPP/BIN/mkdir: cannot make directory `manifest': File exists (EEXIST) C:/DJGPP/BIN/mkdir: cannot make directory `gnu': File exists (EEXIST) C:/DJGPP/BIN/mkdir: cannot make directory `gnu/bnu-000529': File exists (EEXIST) Processing info/*.info* C:/DJGPP/BIN/mv: info/*.info*: No such file or directory (ENOENT) C:/DJGPP/BIN/strip.exe: bin/*.exe: No such file or directory (ENOENT) C:/DJGPP/BIN/find.exe: man: No such file or directory (ENOENT) C:/DJGPP/BIN/find.exe: lib: No such file or directory (ENOENT) C:/DJGPP/BIN/find.exe: info: No such file or directory (ENOENT) C:/DJGPP/BIN/find.exe: include: No such file or directory (ENOENT) C:/DJGPP/BIN/find.exe: bin: No such file or directory (ENOENT) updating: gnu/bnu-000529/build-binutils.sh (deflated 63%) updating: manifest/bnu-000529.mft (deflated 32%) updating: manifest/bnu-000529.ver (deflated 3%) --Message-Boundary-9351 Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information. The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: 203.log Date: 30 May 2000, 15:43 Size: 4295 bytes. Type: Text --Message-Boundary-9351 Content-type: Application/Octet-stream; name="203.log"; type=Text Content-disposition: attachment; filename="203.log" CONFIG_SHELL=C:/DJGPP/BIN/bash.exe + export PATH + remove=rm + hard_link=ln + symbolic_link=ln -s + Makefile=Makefile + Makefile_in=Makefile.in + arguments= + build_alias= + cache_file=config.cache + cache_file_option= + configdirs= + extraconfigdirs= + diroptions= + exec_prefix= + exec_prefixoption= + fatal= + floating_point=default + gas=default + gcc_version= + gcc_version_trigger= + host_alias=NOHOST + host_makefile_frag= + moveifchange= + norecursion= + other_options= + package_makefile_frag= + package_makefile_rules_frag= + prefix=/usr/local + progname= + program_prefix= + program_prefixoption= + program_suffix= + program_suffixoption= + program_transform_name= + program_transform_nameoption= + redirect= + removing= + site= + site_makefile_frag= + site_option= + srcdir= + srctrigger= + subdirs= + target_alias=NOTARGET + target_makefile_frag= + undefs=NOUNDEFS + version=: 1.5 $ + x11=default + bindir=${exec_prefix}/bin + sbindir=${exec_prefix}/sbin + libexecdir=${exec_prefix}/libexec + datadir=${prefix}/share + sysconfdir=${prefix}/etc + sharedstatedir=${prefix}/com + localstatedir=${prefix}/var + libdir=${exec_prefix}/lib + includedir=${prefix}/include + oldincludedir=/usr/include + infodir=${prefix}/info + mandir=${prefix}/man + config_shell=C:/DJGPP/BIN/bash.exe + NO_EDIT=This file was generated automatically by configure. Do not edit. + progname=../binutils-000529/configure + '[' -n /dev/c/Devel/bnu/build.djg ']' ++ pwd + PWD=/dev/c/Devel/bnu/build.djg + : + option=--prefix=/dev/env/DJDIR + shift + orig_option=--prefix=/dev/env/DJDIR ++ echo --prefix=/dev/env/DJDIR ++ sed -e 's/^[^=]*=//' + optarg=/dev/env/DJDIR + arguments= --prefix=/dev/env/DJDIR + prefix=/dev/env/DJDIR + prefixoption=--prefix=/dev/env/DJDIR + : + option=--host=i386-pc-msdosdjgpp + shift + orig_option=--host=i386-pc-msdosdjgpp ++ echo --host=i386-pc-msdosdjgpp ++ sed -e 's/^[^=]*=//' + optarg=i386-pc-msdosdjgpp + arguments= --prefix=/dev/env/DJDIR --host=i386-pc-msdosdjgpp + host_alias=i386-pc-msdosdjgpp + : + option=--target=i386-pc-msdosdjgpp + shift + orig_option=--target=i386-pc-msdosdjgpp ++ echo --target=i386-pc-msdosdjgpp ++ sed -e 's/^[^=]*=//' + optarg=i386-pc-msdosdjgpp + arguments= --prefix=/dev/env/DJDIR --host=i386-pc-msdosdjgpp --target=i386-pc-msdosdjgpp + target_alias=i386-pc-msdosdjgpp + : + option=--with-included-gettext + shift + orig_option=--with-included-gettext + arguments= --prefix=/dev/env/DJDIR --host=i386-pc-msdosdjgpp --target=i386-pc-msdosdjgpp --with-included-gettext + optarg=yes ++ echo --with-included-gettext ++ sed 's:^--::;s:=.*$::;s:-:_:g' + withopt=with_included_gettext + eval with_included_gettext=yes ++ with_included_gettext=yes + withoptions= --with-included-gettext + : + option=--disable-nls + shift + orig_option=--disable-nls + arguments= --prefix=/dev/env/DJDIR --host=i386-pc-msdosdjgpp --target=i386-pc-msdosdjgpp --with-included-gettext --disable-nls ++ echo --disable-nls ++ sed 's:^--disable-:enable_:;s:-:_:g' + enableopt=enable_nls + eval enable_nls=no ++ enable_nls=no + disableoptions= --disable-nls + : + break + '[' -n '' -o i386-pc-msdosdjgpp = help ']' ++ echo ../binutils-000529/configure ++ sed 's/configure$/config.sub/' + configsub=../binutils-000529/config.sub ++ echo ../binutils-000529/configure ++ sed 's/configure$/move-if-change/' + moveifchange=../binutils-000529/move-if-change +++ dirname ../binutils-000529/configure ++ cd ../binutils-000529 ++ pwd + topsrcdir=/dev/c/Devel/bnu/binutils-000529 + C:/DJGPP/BIN/bash.exe ../binutils-000529/config.sub sun4 + true + touch config.junk + C:/DJGPP/BIN/bash.exe ../binutils-000529/move-if-change config.junk config.trash + true + rm -f config.junk config.trash + '[' -r configure.in ']' + '[' -r ../binutils-000529/configure.in ']' ++ echo ../binutils-000529/configure ++ sed 's:/configure$::' + srcdir=../binutils-000529 + '[' -f ../binutils-000529/config.status ']' + exec_prefix=$(prefix) + '[' '' = set ']' + '[' -f /dev/c/Devel/bnu/binutils-000529/gcc/version.c ']' ++ grep '^# per\-host:' ../binutils-000529/configure.in ++ grep '^# per\-target:' ../binutils-000529/configure.in + tmpfile=F:/cNf13122 --Message-Boundary-9351--