This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc and compiling speed
- From: Zack Weinberg <zack at codesourcery dot com>
- To: "John S. Dyson" <toor at y dot jdyson dot com>
- Cc: diep at xs4all dot nl (Vincent Diepeveen), gcc at gcc dot gnu dot org (gcc at gcc dot gnu dot org List)
- Date: Sun, 29 Feb 2004 21:31:30 -0800
- Subject: Re: gcc and compiling speed
- References: <200403010500.i2150gBA080486@y.jdyson.com.>
"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