In the file target.c, I declare
SUBTARGET_OVERRIDE_OPTIONS to add more command options
for my target :
------------------------------------------------------
#ifndef SUBTARGET_OVERRIDE_OPTIONS
#define SUBTARGET_OVERRIDE_OPTIONS
#endif
#define OVERRIDE_OPTIONS \
{ \
{"model=", &c166_model_string, \
N_("Code size : small, medium or large")} \
SUBTARGET_OVERRIDE_OPTIONS \
}
------------------------------------------------------
But when I use "make" to build, it generates error
when parse file "toplev.c"
../../GCC-C166/gcc/toplev.c : 5064: error: parse
error before } token.
When I ran to line 5064 of file toplev.c , I saw this
:
-------------------------------------------------------
#ifdef OVERRIDE_OPTIONS
/* Some machines may reject certain combinations of
options. */
OVERRIDE_OPTIONS; <----------------- error line here
#endif
-------------------------------------------------------
So can you tell me why does it generate this error ?
Thank you very much !