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

Re: [MiNT] Software IDE

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)?

Helmut Karlowski

Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.