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: Include facility for .md files - altivec patches



 > 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.

Cheers.
Aldy


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