3.4.0 on solaris fails on install

Alexandre Oliva aoliva@redhat.com
Wed Apr 21 22:47:00 GMT 2004


On Apr 21, 2004, "J.D. Bronson" <jd@wixb.com> wrote:

> I used a precompild gcc 2.95.3 and build gcc 3.4.0 just fine.
> However the install fails!

Ugh.  INSTALL_PROGRAM is passed from the top level to all subdirs, so
it doesn't work when srcdir is relative.  I suspect this is why we say
we don't support objdir as a subdir of srcdir in the installation
documentation: people will tend to use relative pathnames for that.

I suppose it will work if you run

make install INSTALL_PROGRAM=/full/path/to/src/install-sh

Please file a bug report on this, such that this doesn't get lost.  At
the very least, the documentation should be changed to make it clear
that relative pathnames are not expected to work.

Thanks,

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Gcc-help mailing list