contains two fixes:
- -trace r for AKD arrays led to compiler warnings as it was accessing the pointer top the data before it was allocated
- the gen_startup_code macros did not allow for overriding through cc compiler flags. This fix refactors the printing of those flags by introducing two macros PRINT_SWITCH and PRINT_OPT_SWITCH. The latter allows pre-setting through the cc call.