Re: [autodeps] gnu-nat, autogenerated files

Tom Tromey
2008-09-09T16:09:41Z

>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:

Pedro> These are generated headers, built from the corresponding .defs files in
Pedro> the tree. Their build rules are in config/i386/i386gnu.mh.

Pedro> Is this the right approach?

Yes.

I didn't know about the .mh files, sorry about that. I read through
them all just now and I noticed that they inconsistently use NAT_FILE.
Some use config/ and some do not, e.g.:

config/pa/linux.mh:NAT_FILE= config/nm-linux.h
config/alpha/alpha-osf3.mh:NAT_FILE= nm-osf3.h

AFAICT this variable is only used for the TAGS rule. So, maybe it
doesn't matter much. Or maybe it could just be deleted.

Tom