Boost logo

Proto :

Subject: Re: [proto] Compiling in debug mode
From: John Bytheway (jbytheway+boost_at_[hidden])
Date: 2011-05-31 08:20:05


On 13/05/11 03:59, Eric Niebler wrote:
> On 5/13/2011 5:45 AM, Bart Janssens wrote:
<snip>
>> I've gotten to the point where a compile can use upwards of 1.5GB for
>> a single test, resulting in much swapping, especially when compiling
>> with make -j2 (which I try to remember not to do, now ;).
>
> Ouch. Do you have to use gcc? Perhaps clang might give you better results.

My experience suggests that clang saves time, but uses more memory than
gcc, (I think it's because it's more careful about preserving source
location information).

John Bytheway


Proto list run by eric at boostpro.com