This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] Makefile portability improvements
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: [v3] Makefile portability improvements
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 30 Nov 2000 11:28:16 -0200
- Cc: gcc-patches at gcc dot gnu dot org, apbianco at cygnus dot com
- Organization: GCC Team, Red Hat
- References: <200011292128.eATLSIX23303@fillmore.constant.com>
On Nov 29, 2000, Benjamin Kosnik <bkoz@redhat.com> wrote:
> # Alexandre put this in here for some libtool-related reason.
> all: libstdc++.INC
> libstdc++.INC: Makefile
> - $(MAKE) \
> - top_builddir=`CDPATH=:. && cd $(top_builddir) && pwd` \
> - top_srcdir=`CDPATH=:. && cd $(top_srcdir) && pwd` \
> - tmp-$@
> - -rm -f $@
> - mv tmp-$@ $@
> -
> - tmp-libstdc++.INC: Makefile
> echo $(INCLUDES) > $@
This can't be right. top_builddir and top_srcdir may be relative
pathnames, but we need them absolute otherwise any other users of
libstdc++ headers will get it wrong. Any particular reason why you
changed it?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me