I'm not sure why pragma-redirect is generating a block of code conditioned on crt0 being defined in zcc_opt.def:
IF !DEFINED_CRT_FONT
IF crt0
PUBLIC CRT_FONT
EXTERN _ff_ao_Soxz
defc DEFINED_CRT_FONT = 1
defc CRT_FONT = _ff_ao_Soxz
ENDIF
ENDIF
None of the other pragmas do this.
I committed a change that eliminates the crt0 test. If there's a reason for it, feel free to add it back.
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
[z88dk-dev] pragma-redirect conditioned on crt0 being defined
It was there so that multi-file z88 applications link - application.h needs some values from zcc_opt.def to set the application header. I may be to do something in appmake to work around that though.I'm not sure why pragma-redirect is generating a block of code conditioned on crt0 being defined in zcc_opt.def:
IF !DEFINED_CRT_FONT
IF crt0
PUBLIC CRT_FONT
EXTERN _ff_ao_Soxz
defc DEFINED_CRT_FONT = 1
defc CRT_FONT = _ff_ao_Soxz
ENDIF
ENDIF
None of the other pragmas do this.
I committed a change that eliminates the crt0 test. If there's a reason for it, feel free to add it back.
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
Actually it was all z88 applications. I've changed app generation so that the appropriate values are populated by appmake. A nice side effect of this is that the "number of bad pages values" (-reqpag) can be automatically calculated from the bss data.It was there so that multi-file z88 applications link - application.h needs some values from zcc_opt.def to set the application header. I may be to do something in appmake to work around that though.I'm not sure why pragma-redirect is generating a block of code conditioned on crt0 being defined in zcc_opt.def:
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape