This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: install bug in top-level Makefile.in


   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]