On 22-Jul-2002 Brian Hechinger wrote:
> it works.  yay!!!
> 
> ok, here's what i needed to do.  first of all, set the following
> environmental
> variables:
> 
>   CC=/usr/bin/cc
>   CXX=/usr/bin/CC
>   CXXFLAGS='-LANG:std'
> 
> or for more optimization (what i used on my R10K Octane):
> 
>   CFLAGS='-O2 -OPT:Olimit=0 -mips4'
>   CXXFLAGS='-LANG:std -O2 -OPT:Olimit=0 -mips4'
> 

only CXXFLAGS is used.

> the next step is to remove '-Wall -W -pedantic' from CXXFLAGS in src/Makefile
> and util/Makefile, unless someone knows how to get configure to not put those
> in there in the first place.
> 
> after that, apply the included patch, make, make install, enjoy.
> 
> that's all there is to it!!
> 

I will look over your patch and get back to you.

As for the -Wall -W -pedantic, search for them in configure.in.  If you can
submit me code that detects the compiler is not gcc and removes the flags I
would be greatful.  Otherwise the bulk 90%+ of the users of blackbox use gcc so
it is better for the few to override than to change it for the many.

Reply via email to