webaake
June 18th, 2007, 10:01 PM
Is it possible to use optimization flags for GCC when configuring/building for example Transmission source? As far as I understand it's written in C.
I have a powerpc 7400 with altivec and would like to try to optimize the build. I've succesfully built several SVN versions without any options at build time.
If there are flags, how do one use them?
I have Ubuntu 7.04, with GCC 4.xx I think.
I've used this as a test;
./configure --verbose CFLAGS="-mcpu=7400 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt"
Does this look OK? Is the syntax OK? Output of the verbose flag doesn't reveal anything about the CFLAGS.
The build works but I have no way of determining if it is useful. Transmission feels as before, no more no less.
Although there are some nice changes in revision 2153 !!!
I have a powerpc 7400 with altivec and would like to try to optimize the build. I've succesfully built several SVN versions without any options at build time.
If there are flags, how do one use them?
I have Ubuntu 7.04, with GCC 4.xx I think.
I've used this as a test;
./configure --verbose CFLAGS="-mcpu=7400 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt"
Does this look OK? Is the syntax OK? Output of the verbose flag doesn't reveal anything about the CFLAGS.
The build works but I have no way of determining if it is useful. Transmission feels as before, no more no less.
Although there are some nice changes in revision 2153 !!!