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]

Extending xm_defines syntax to get rid of more xm-files


Zack,

Some of the remaining xm-files only contain macro defines set to some
value.  E.g. i370/xm-mvs.h has #define FATAL_EXIT_CODE 12, and nothing
else.  A few other files are similar.

The xm_defines syntax currently accepts a whitespace separated list of
macros to define without values.  What if we extended the syntax to
accept MACRO=value elements?

E.g. xm_defines='USG FATAL_EXIT_CODE=12'

and then we can nuke i370/xm-mvs.h, etc al.

I don't know if '=' works passed through Makefile.in into mkconfig.sh,
but if we choose the separator charater right and we're lucky, I think
its just a small tweek to mkconfig.sh to handle this.

		Thoughts?
		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


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