delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/05/17/04:20:53

Date: Wed, 17 May 2000 10:08:00 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Eli Zaretskii <eliz AT delorie DOT com>
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: <Pine.A41.4.05.10005170959210.27592-100000@ieva06.lanet.lv>
MIME-Version: 1.0
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

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 -


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