Hi,
Also another thing I dont see in GCC 4.x.x but I know it was alive and
kicking on the GCC 3.4.6 branch is the subtarget switches custom macro.
Eg in the gcc.config/.h OS specific file we could define something like
that:
#define MASK_STANDARD 0x40000000 /* Retain standard information */
#define MASK_NOLEGEND 0x20000000 /* Discard legend information */
etc ...
#define TARGET_STANDARD (target_flags & MASK_STANDARD)
#define TARGET_NOLEGEND (target_flags & MASK_NOLEGEND)
etc ...
and then do a define as
#undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES \
{ "standard", MASK_STANDARD, \
N_("Retain standard MXDB information") }, \
{ "legend", -MASK_NOLEGEND, \
N_("Retain legend information") }, \
{ "warn-passed-structs", MASK_WARN_PASS_STRUCT, \
N_("Warn when a function arg is a structure") },
That could cause cc1 --help as well as gcc --help to list those extra
OS specific added options (two -m above and one -W, an examble).
Is that feature/possiblity also dropped completely from gcc 4.X.X. ?
Regards,