egcs-19980628 libstdc++/Makefile.in problem

Carlo Wood carlo@runaway.xs4all.nl
Fri Jul 3 07:20:00 GMT 1998


| Around line 277 of libstdc++/Makefile:
| 
|        if [ x$(libsubdir) = x ] || [
| x$(enable_version_specific_runtime_libs) != xyes ]; then \
|           INSTALLDIR=$(libdir); \
|         else \
|           INSTALLDIR=$(libsubdir); \

Hmm, on second thought - I am not sure if these
in-script INSTALLDIR = ..;\ don't need to be replaced
too.  In that case a different regular expression
would be needed of course.  I don't understand
why during cross compiling we install in $(tooldir)
and otherwise not - but this specific Makefile.in
part doesn't seem to take it into account.

If we need something like

|        if [ x$(libsubdir) = x ] || [
| x$(enable_version_specific_runtime_libs) != xyes ]; then \
|           INSTALLDIR=$(tooldir)/lib ; \
|         else \
|           INSTALLDIR=$(tooldir)/lib ; \

then the following would do the job:

sed -e 's|INSTALLDIR.*=[^;]*|INSTALLDIR = $(tooldir)/lib |'

-- 
 Carlo Wood  <carlo@runaway.xs4all.nl>



More information about the Gcc mailing list