[Gambas-user] Faster compiler
Benoît Minisini
g4mba5 at gmail.com
Sun Jan 31 18:12:48 CET 2021
Le 31/01/2021 à 16:50, Bruce Steers a écrit :
> Do you think it is worth adding to the makefile.am <http://makefile.am>
> files in app comp and main?
> I'm testing it, I've added '-j 4' to my makefiles gbc3 commands.
> Is it the sort of thing that would work worse on a single core processor
> so best not to provide a default setting?
I tried with a '-j4' added in the Makefile.am. Of course it speeds up
the compilation of all components written in Gambas, but as it's not a
big part of the full process, the global time gain is small.
Anyway, if I want to use that new option, it must be a global configure
paramater, as AFAIK there is no standard way of knowing the number of
available cores on Unix (Linux + *BSD + ...).
Regards,
--
Benoît Minisini
More information about the User
mailing list