This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc and compiling speed


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]