Date: Sat, 7 Aug 2004 08:42:36 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Scott Long <scottl@samsco.org> Cc: Niclas <lothrandil@n00b.apagnu.se> Subject: Re: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized Message-ID: <20040807154236.GA26944@troutmask.apl.washington.edu> In-Reply-To: <4114F3AF.4030708@samsco.org> References: <4114D5D9.5000400@n00b.apagnu.se> <4114F3AF.4030708@samsco.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 07, 2004 at 09:22:23AM -0600, 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? > Niclas refers to src/share/examples/etc/make.conf, which suggests that he has CXXFLAGS defined in /etc/make.conf. >From src/share/examples/etc/make.con, we find # CXXFLAGS controls the compiler settings used when compiling C++ code. # Note that CXXFLAGS is initially set to the value of CFLAGS. If you wish # to add to CXXFLAGS value, "+=" must be used rather than "=". Using "=" # alone will remove the often needed contents of CFLAGS from CXXFLAGS. # #CXXFLAGS+= -fmemoize-lookups -fsave-memoized kargl[193] c++ -fmemoize-lookups -fsave-memoized a.c cc1plus: error: unrecognized command line option "-fmemoize-lookups" cc1plus: error: unrecognized command line option "-fsave-memoized" -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040807154236.GA26944>