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

Re: [MiNT] Software IDE



Helmut Karlowski, 10.12.2013 22:22:00:

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

Ups, that was -O0, -O3 gives:


#time gcc -c -DHAVE_CONFIG_H -I.. -g -O3 -DKSH=1 -funsigned-char -Wall -DVDEBUG=1 -o exec.o ../exec.c
    2.35s real     2.16s user     0.23s system

Still 10 times faster.

--
Helmut Karlowski

---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
http://www.avast.com