This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Include facility for .md files - altivec patches
On Sat, 17 Nov 2001, Aldy Hernandez wrote:
>
> > OK. Thank you. I didn't know.
>
> Another thing Alan.
>
> I think you also need to include patches for the build system that
> handle dependencies introduced by these .md include files. See
> "md_file" in config.gcc, configure.in, and Makefile.in.
>
> I'd like to see an "extra_mds" variable that is used to specify other
> .md's used in the port.
>
> For example, you should be able to do:
>
> powerpc-*-sysv*)
> tm_file="${tm_file} svr4.h rs6000/sysv4.h"
> blah blah
> --> extra_mds="altivec.md"
> ;;
>
> Right now if I use the include mechanism, there is no way for gcc to
> know that rs6000.md is dependent on altivec.md.
Good idea. I'll look at it when I get a chance.
Alan Matsuoka
GCC Engineering
Red Hat Canada, Ltd
mailto:alanm@redhat.com Tel: (416) 482-2661 x250 / Fax: (416) 482-6299