Fixing up sizes more.
This commit is contained in:
@ -345,7 +345,7 @@ $(ESP32_SIM):
|
|||||||
|
|
||||||
$(GEN)/print-esp32-builtins: \
|
$(GEN)/print-esp32-builtins: \
|
||||||
esp32/print-builtins.cpp esp32/builtins.h | $(GEN)
|
esp32/print-builtins.cpp esp32/builtins.h | $(GEN)
|
||||||
$(CXX) $(CFLAGS) -m32 $< -o $@
|
$(CXX) $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
$(GEN)/esp32_sim_opcodes.h: $(GEN)/print-esp32-builtins | $(GEN)
|
$(GEN)/esp32_sim_opcodes.h: $(GEN)/print-esp32-builtins | $(GEN)
|
||||||
$< >$@
|
$< >$@
|
||||||
@ -361,11 +361,11 @@ $(ESP32_SIM)/Esp32forth-sim: \
|
|||||||
common/interp.h \
|
common/interp.h \
|
||||||
$(GEN)/esp32_boot.h \
|
$(GEN)/esp32_boot.h \
|
||||||
$(GEN)/esp32_sim_opcodes.h | $(ESP32_SIM)
|
$(GEN)/esp32_sim_opcodes.h | $(ESP32_SIM)
|
||||||
$(CXX) $(CFLAGS) $< -o $@
|
$(CXX) $(CFLAGS) -m32 $< -o $@
|
||||||
strip $(STRIP_ARGS) $@
|
strip $(STRIP_ARGS) $@
|
||||||
|
|
||||||
size:
|
sizes: $(ESP32_SIM)/Esp32forth-sim
|
||||||
echo internals size-all bye | $(ESP32_SIM)/Esp32forth-sim
|
echo internals size-all bye | $< | sort -n
|
||||||
|
|
||||||
# ---- ESP32 ----
|
# ---- ESP32 ----
|
||||||
|
|
||||||
|
|||||||
@ -80,10 +80,9 @@ internals definitions
|
|||||||
: size-vocabulary ( voc )
|
: size-vocabulary ( voc )
|
||||||
@ begin dup nonvoc? while
|
@ begin dup nonvoc? while
|
||||||
dup >size . dup see. cr >link
|
dup >size . dup see. cr >link
|
||||||
repeat drop cr ;
|
repeat drop ;
|
||||||
: size-all
|
: size-all
|
||||||
last-vocabulary @ begin dup while
|
last-vocabulary @ begin dup while
|
||||||
." VOCABULARY " dup see. cr ." ------------------------" cr
|
|
||||||
dup >body size-vocabulary
|
dup >body size-vocabulary
|
||||||
>vocnext
|
>vocnext
|
||||||
repeat drop cr ;
|
repeat drop cr ;
|
||||||
|
|||||||
Reference in New Issue
Block a user