On Wed, Jul 17, 2002 at 11:56:46AM +0200, Sascha Huedepohl wrote:
> Hi,
> sorry for the OT, but i dont knwo where else to ask.
> I would like to add some compiler-options to the
> makeprocess. But i dont know how. I cant see
> a configure option for that and simply have now
> knowledge about the automake....
> 
> I dont knwo for what architecture gcc compiles, i have
> a celeron 466. What can i do?
> 

An easy way to add compiler options is to run the configure
script with a few special environment variables set to the
values you want.

CXX ==> c++ compiler
CXXFLAGS ==> compiler flags

When I build blackbox, I run configure like this ...

$ CXXFLAGS="-O2 -march=i586 -Wall" ./configure ...

The other thing you can do is go in and modify the Makefile
after configure has run.

-- 
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759

Reply via email to