This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

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.


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