This is the mail archive of the gcc@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]

proper way to include gcc/config/<arch>/<arch>.h ?


What is the proper way to include gcc/config/<arch>/<arch>.h?

`tm_file' is set early in `config.gcc' as
"tm_file=${cpu_type}/${cpu_type}.h", however some config triplets add to
`tm_file' by "tm_file="${tm_file} foo.h", while others totally
overwrite it with tm_file="foo.h <arch>/<arch>.h bar.h".  Others do all
kinds of things -- "*-*-gnu*" is a good example of this.

I am finding it impossible to find a clean multi-platform example to
follow.

-- 
-- David  (obrien@FreeBSD.org)


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