[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Software IDE



On 12/10/13 21:22, Helmut Karlowski wrote:
Vincent Rivière, 10.12.2013 17:49:51:

IMHO, running gcc on an Atari machine is a total nonsense. gcc is extremely heavy, it has not been designed for low-end machines. It uses a huge amount of RAM and disk space.

I suspect it's not only CPU-power that slows gcc down on atari. It should still run faster:

Compare the times:

gcc4.5.3 on cygwin:

#time gcc -c -DHAVE_CONFIG_H -I.. -g -O0 -DKSH=1 -funsigned-char -Wall -DVDEBUG=1 -o exec.o ../exec.c
    0.89s real     0.63s user     0.26s system

Alans gcc 4.6.3 on aranym (same computer using aranym-jit):

gcc -c -DHAVE_CONFIG_H -I.. -g -O3 -DKSH=1 -funsigned-char -Wall -DVDEBUG=0 -D_GNU_SOURCE -m68030 -o exec.o ../exec.c

   23.41s real    23.12s user     0.29s system


Is it too much for the jit-compiler or why does it need about 25 times longer, I'd expect something like a factor of 2 or 3)?


It'd be nice to see some profiling from this, as I suspect the MiNTlib is a good proportion of the problems.

Alan.