This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

3.1.0 failed to install libstdc++-v3 includes (Solaris 8)


Original problem posted to gcc-help.

In directory ........./sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include
make install reports 
/bin/sh: ../../../../gcc-3.1/libstdc++-v3/../install-sh: not found

The problem appears in the directories

sparc-sun-solaris2.8/sparcv9/boehm-gc
sparc-sun-solaris2.8/sparcv9/libstdc++-v3
sparc-sun-solaris2.8/sparcv9/libjava

where the INSTALL macro is defined as a relative path and is passed down
to sub directories as part of AM_MAKEFLAGS. Obviously as a relative path
an extra ../ should be prepended to INSTALL when passed to sub
directories.

I can see two ways of fixing this: either take INSTALL out of
AM_MAKEFLAGS as it is defined correctly in the lower level Makefiles
or build the Makefiles with INSTALL defined with explicit paths.

Can someone with more knowledge make the call.

The rationale for passing INSTALL as part of AM_MAKEFLAGS is unclear but
is connected to GNU Make. I use GNU make (not Sun's make) and both of
these solutions work for me.

For the record this was configured thus:

../gcc-3.1/configure --prefix=/opt/GCC310 --disable-nls --enable-threads
--enable-languages=c,c++,f77,java

AMP
-- 
Gravity:
	What you get when you eat too much and too fast.


This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.


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