Mail Archives: djgpp-workers/2000/05/17/04:20:53
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'
>
- Raw text -