This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix some dependencies on s-gtype
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: rafael dot espindola at gmail dot com (Rafael Espíndola)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 25 Oct 2005 14:02:25 -0400 (EDT)
- Subject: Re: [PATCH] fix some dependencies on s-gtype
>
> ------=_Part_38016_20196163.1130263125128
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> The attached patch fixes some missing/spurious dependencies on s-gtype. One
> remaining problem is that java/parse.c cannot be added to gtfiles in
> java/config-lang.in. java/parse.c is generated from java/parse.y and adding
> it causes make to fail. I don't know a simple way to solve this problem.
If c-lang.c changes, gtype-c.h needs to be regenated.
>
> Tested with:
> ../gcc/configure
> --enable-languages=3Dc,c++,fortran,java,objc,obj-c++,treelang
> --prefix=3D/work/gcc/inst/
>
> make bootstrap
> make check
>
> :ADDPATCH build:
> Rafael
>
> 2005-10-25 Rafael =C1vila de Esp=EDndola <rafael.espindola@gmail.com>
>
> * gcc/c-config-lang.in: Removed c-lang.c and
> c-objc-common.c from gtfiles
You cannot do that, it will not work the way think it should.
-- Pinski
> * gcc/cp/config-lang.in: Removed c-lex.c from gtfiles
Likewise.
> * gcc/fortran/Make-lang.in: Removed gt-fortran-trans.h
Likewise.
> * gcc/objc/config-lang.in: Removed c-objc-common.c
> from gtfiles
Likewise.
> * gcc/objcp/config-lang.in: Removed c-lex.c and
> objcp/objcp-decl.c from gtfiles
And likewise.