Re: specifying gcc arguments
On Wednesday 27 December 2006 14:00, Ritesh Raj Sarraf wrote:
> Hi,
>
> When manually building applications in Debian (kernel, other packages)
> using utilities (make-kpkg, others) is there any configuration file I can
> specify my optimizations for, so that every time I do a build, I don't have
> to do things like:
>
> $ MAKEFLAGS="mtune=pentium-m" make-kpkg .....
>
> Maybe something that I read about Gentoo of modifying the /etc/make.conf.
> Do we have something similar ?
>
There might be a bit more elegant method. But can't you just use an alias for
a quick hack?
alias gcc="gcc -O2"
alias gfortran="gfortran -O2"
etc.,
raju
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
----------------------------------------------------------------------
Click to get 125% of your home's value, super fast, no lender fees
http://tags.bluebottle.com/fc/KCuXzzVQY54YujOZJMjz1JbQC358Cx/
Reply to: