delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/05/15/10:14:19

Date: Mon, 15 May 2000 18:30:48 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>
cc: djgpp-workers AT delorie DOT com
Subject: Re: GDB 5.0 is in pretest
In-Reply-To: <200005151109.NAA06529@cerbere.u-strasbg.fr>
Message-ID: <Pine.SUN.3.91.1000515182146.12234D-100000@is>
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

On Mon, 15 May 2000, Pierre Muller wrote:

> >   bunzip2 -c gdb-4.95.1.tar.bz2
>   At this point my version of bunzip2 
> wrote all to terminal !!
> -s is --stdout so this is expected !
> Why did you add -c option here ?

Sorry, my bad.  Either "bunzip2 -c ... > gdb-4.95.1.tar" or
"bunzip2 gdb-4.95.1.tar.bz2".

> >   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.  For some 
reason that I cannot grasp, the top-level Makefile insists on using the 
install-sh script instead of the install program found by the configure 
script, like all other projects do.  And install-sh does not work with 
DJGPP (I forget the details, but if you look into it, you will see).
So you need to say this instead:

 make install prefix=${DJDIR} INSTALL='ginstall -c' INSTALL_DATA='ginstall -c'

I was unable to convince the GDB maintainers to change the configury 
stuff so that ginstall is used.  So I will need to write this up in the 
README file.

Sorry I forgot about this when I wrote the message earlier today.

- Raw text -


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