Hi there,

I noticed that the munch process on a fairly large application on my Win XP
dual core system takes about 80 secs(!). The largest amount of time is taken
by writing the ctor.c file which is done by the munch.tcl script.
Interposing 'grep GLOBAL' in the command line does not make it better.

I changed the sequence to learn what the system is busy with and used
filemon (sysinternals) to check what he's actually doing.

Sequence:
nmarm -g RTmunch.o | grep GLOBAL > RTctor.tmp
cat RTctor.tmp | wtxtcl "C:/Tornado221_ARM/host/src/hutils/munch.tcl" -c arm
> RTctor.c

ldarm -r -o A_MainNode_arm RTctor.o RTmunch.o

Writing the RTctor.c takes the largest amount of time. Obviously (filemon)
it is writing and flushing the file RTctor.c on a byte by byte basis. The
CPU is not busy during this process, but the disk is very busy.
Has anyone out there tried to rewrite the munch.tcl script in perl or in
something else which is faster?

Kind Regards,
--
################################################## ##########
# Oce Technologies B.V. name: Ton Janssen (3A50) #
# P.O. Box 101 email: djan@oce.nl #
# 5900 MA Venlo #
# Tel: +31 (0)77-359 40 97 #
# The Netherlands Fax: +31 (0)77-359 54 50 #
################################################## ##########