gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized

Niclas lothrandil at n00b.apagnu.se
Sat Aug 7 08:38:07 PDT 2004

Scott Long wrote:

> Niclas wrote:
>> Hi!
>> I tried to upgrade my system from 5.2.1 to current a couple of hours 
>> ago. The build died yelling about unrecognized command line options 
>> -fmemoize-lookup and -fsave-memoized. It seems that those options is 
>> removed, and some more investigation seemed to prove that.
>> Now I'm just wondering, are those options really removed, or am I just 
>> being stupid and overlooking something? If they are removed, shouldn't 
>> they be removed from src/share/examples/etc/make.conf be removed as 
>> well so nobody uses them?
>> Cheers!
>> //Niclas
> How exactly are you doing your upgrade?
> Scott
I have put some options in /etc/make.conf, among others:
CFLAGS=			-O -pipe
CXXFLAGS+=		-fmemoize-lookups -fsave-memoized
COPTFLAGS=		-O -pipe

Then I cd to /usr/src and make buildworld. I don't know if it's the 
correct way of doing things when it's such big upgrade, but I couldn't 
find anything that said i should do diffrent either...


More information about the freebsd-current mailing list