Date: Wed, 17 May 2000 10:08:00 +0200 (WET) From: Andris Pavenis To: Eli Zaretskii cc: djgpp-workers AT delorie DOT com Subject: Re: GDB 5.0 is in pretest In-Reply-To: <200005162121.RAA20134@indy.delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 One idea: In my script for building gdb (modified Roberts one from gdb418s.zip) I used following hack in djconfig.sh before running configure -------------------------------------------------------- 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 -------------------------------------------------------- At least when I last time checked it (with gdb-4.95.0) my scripts built gdb "out of box" (including creating binary archive I only unzipped later in DJGPP directory) Andris On Tue, 16 May 2000, Eli Zaretskii wrote: > > From: pavenis AT lanet DOT lv > > Date: Mon, 15 May 2000 19:13:46 +0200 > > > > > > > make install prefix=${DJDIR} > > > > Failure : > > > [snip] > > > > D:/DJGPP/BIN/sh.exe ./../mkinstalldirs d:/djgpp/lib > > > > D:/DJGPP/BIN/sh.exe ./libtool --mode=install D:/DJGPP/BIN/sh.exe > > > > d:/pub/gdb-5.0/gdb-4.95.1/install-sh -c libbfd.la d:/djgpp/lib/libbfd.la > > > > libtool: install: `d:/djgpp/lib/libbfd.la' is not a directory > > > > > > This is a known problem which I keep forgetting all the time. > > > > Strange. I was not able to reproduce this problem. > > make install prefix=${DJDIR} > > works Ok for me (even tried multiply ways, but anyway failed to break > > it) > > I think I know why. Pierre has SHELL set to an explicit value > (D:/DJGPP/BIN/sh.exe) for some reason, perhaps because he invoked Make > from Bash or from Emacs. In contrast, when you run Make, it uses > /dev/env/DJDIR/bin/sh.exe. The latter compares equal to the value of > SHELL as set by the configure script, and everything works. In > Pierre's case, these two strings don't compare equal, and libtool gets > confused. > > Pierre, can you try the following command and tell me if it works for > you? > > make install prefix=${DJDIR} INSTALL='ginstall -c' >