gcc and compiling speed
Zack Weinberg
zack@codesourcery.com
Mon Mar 1 05:31:00 GMT 2004
"John S. Dyson" <toor@y.jdyson.com> writes:
>>
>> btw At multiprocessor BSD machines, does gcc get run using all processors
>> there instead of running all threads at 1 processor? If not, i know
>> something to speed you up quite some...
>>
> FreeBSD has a couple of multi-threading libs, and at least one
> of them allows for multi-cpu threading. Frankly, I don't keep
> up with the official release versions, but I often use the
> multi-cpu threading libs.
GCC itself is single threaded, but Make has the wonderful -j option
which lets you parallelize entire builds.
zw
More information about the Gcc
mailing list