aMule Forum

English => Compilation problems => Topic started by: Axl_Mas on June 05, 2005, 02:31:24 AM

Title: ./configure optimization options
Post by: Axl_Mas on June 05, 2005, 02:31:24 AM
Normally when i compile amule i use this setting:

./configure --disable-debug --enable-optimize  

But as  -enable-optimize work?

This settings can help me to improve my amule system performances?

Tnx!

 ;)
Title: Re: ./configure optimization options
Post by: thedude0001 on June 05, 2005, 08:04:08 AM
Not sure if I understand you right here: You want to know if and how --enable-optimize works?

Yes, it does work. And it does simply tell your compiler to use the -O2 flag when compiling the source. This means it will try to produce optimized code up to a certain level (therefor the "2").
More detailed information can be found here: http://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/Optimize-Options.html#Optimize-Options
Title: RE: ./configure optimization options
Post by: ken on June 05, 2005, 09:00:41 AM
Quote
Originally posted by Axl_Mas
This settings can help me to improve my amule system performances?
Well, it will probably make aMule use slightly less cpu time.

It will almost certainly not improve the rate at which you download or upload files with aMule.  That is limited by network I/O between you and other clients, not by your cpu.
Title: Re: ./configure optimization options
Post by: Axl_Mas on June 09, 2005, 12:35:57 PM
Ok, the some thing that i think!
Title: Re: ./configure optimization options
Post by: Axl_Mas on June 10, 2005, 12:19:35 AM
Another question.......... and the --enable-optimise option?

The help say that it is deprecated, it means that make amule instable?
Title: Re: ./configure optimization options
Post by: ken on June 10, 2005, 06:30:47 AM
No, "--enable-optimize" and "--enable-optimise" are exactly the same, just with different spellings.  To avoid confusion, we've decided to eliminate the duplication and standardize on the spelling with 'z'.  Deprecated just means "the old way, which we will someday eliminate, so plan to stop using it soon".  :)
Title: Re: ./configure optimization options
Post by: Axl_Mas on June 10, 2005, 10:18:47 AM
Quote
Originally posted by ken
No, "--enable-optimize" and "--enable-optimise" are exactly the same, just with different spellings.  To avoid confusion, we've decided to eliminate the duplication and standardize on the spelling with 'z'.  Deprecated just means "the old way, which we will someday eliminate, so plan to stop using it soon".  :)

Ok thanks!
Therefore now i am fully optimized!!!!!!!!!!!
It is a great satisfaction for me!
 :D

Bye!