This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [basic-improvements] split config.h and tm.h, steps 1+2
- From: Jan Hubicka <jh at suse dot cz>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 1 Dec 2002 17:04:18 +0100
- Subject: Re: [basic-improvements] split config.h and tm.h, steps 1+2
- References: <874ra65lpw.fsf@egil.codesourcery.com>
>
> Stages 1 and 2 of the patch discussed at
> http://gcc.gnu.org/ml/gcc/2002-11/msg00396.html. Bootstrapped on
> i686-linux with some degree of manual intervention -- does anyone know
> what might make libtool decide to throw "-lstdc++" onto the link line
> for libstdc++ itself?
>
> As previously discussed, this patch will be committed only after steps
> 3 and 4 are complete.
>
> zw
>
> * configure.in: Do not put ${tm_file} in host_xm_file,
> build_xm_file, or xm_file. Do put tm-preds.h in tm_p_file.
> Adjust generation of tm_p_file_list to match.
> * Makefile.in (TM_H): New variable.
> (tm_file, tm_file_list): New variables set by configure.
> (HCONFIG_H, GCONFIG_H, TCONFIG_H): Add $(TM_H).
> (tm.h, cs-tm.h): New rules.
> (cs-config.h, cs-hconfig.h, cs-tconfig.h, cs-tm_p.h):
> Adjust for changes to mkconfig.sh. $(tm_defines) goes only
> into tm.h.
> * mkconfig.sh: Only needs one DEFINES parameter. Simplify
> handling of HEADERS wrt IN_GCC. Don't define rtx/rtvec/tree
> here. Include coretypes.h and tm.h in *config.h.
> * coretypes.h: New file.
Zack,
you forgot to commit coretypes.h. I've just did that so we can
bootstrap again.
Honza