I m using gcc for arm on windows but it is very slow :compiled file:
#include "stdint.h"int main ( int argc, char **argv ) { // code return 0; // Indicates that everything went well.}
Command used:
bash-3.1$ time C\:/Program\ Files\ \(x86\)/GNU\ Tools\ ARM\ Embedded/5.4\ 2016q3/bin/arm-none-eabi-gcc.exe -c -ftime-report main.c
result:
bash-3.1$ time C\:/Program\ Files\ \(x86\)/GNU\ Tools\ ARM\ Embedded/5.4\ 2016q3/bin/arm-none-eabi-gcc.exe -c -ftime-report main.c Execution times (seconds) phase setup : 0.01 (52%) usr 1538 kB (90%) ggc phase parsing : 0.01 (26%) usr 127 kB ( 7%) ggc TOTAL : 0.02 1707 kB real 0m0.795s user 0m0.000s sys 0m0.015s
and with missing file:
bash-3.1$ time C\:/Program\ Files\ \(x86\)/GNU\ Tools\ ARM\ Embedded/5.4\ 2016q3/bin/arm-none-eabi-gcc.exe -c -ftime-report main.carm-none-eabi-gcc.exe: error: main.c: No such file or directoryarm-none-eabi-gcc.exe: fatal error: no input filescompilation terminated.real 0m0.123suser 0m0.000ssys 0m0.015s
So I don't understant why gcc is so slow
Ps : host is a Intel i7 with ssd and 8Go of RAM