This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: install bug in top-level Makefile.in
- To: snowball3 at bigfoot dot com
- Subject: Re: install bug in top-level Makefile.in
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 2 Mar 2000 12:55:13 -0500
- CC: binutils at sourceware dot cygnus dot com
- References: <38BE62AA.28207.8620FF@localhost>
From: "Mark E." <snowball3@bigfoot.com>
Date: Thu, 2 Mar 2000 12:46:34 -0500
When using 'make install' with DJGPP, I ran into some unexpected problems. It seems
that the top level Makefile is hard-coded to use 'install-sh'. This doesn't work
with DJGPP. Instead I had override it using "make install INSTALL='ginstall -c'".
The top-level Makefile.in has this:
INSTALL = $(SHELL) $$s/install-sh -c
but what it needs to do is the equivalent of:
INSTALL=@INSTALL@
but the configure doesn't seem to be generated by Autoconf, so I don't know what
exact changes need to be made.
The top level configure script is one of the few remaining uses of
Cygnus configure. The change which really needs to be made is to
convert it to use autoconf.
A simpler change would be to modify the top level configure.in to
rewrite the INSTALL line on the DJGPP host. Search for RPATH_ENVVAR
in that file to see an example of rewriting a make variable on a
specific host.
Ian