aMule Forum
English => Compilation problems => Topic started by: setabi on October 20, 2005, 11:30:15 PM
-
Hi,
I have some problem with memory usage when I run amulegui with the cvs version.
I have noted that the binary files are very big in size:
-rwxr-xr-x 1 root root 30088345 Oct 20 23:15 /usr/bin/amule
-rwxr-xr-x 1 root root 1472326 Oct 20 23:15 /usr/bin/amulecmd
-rwxr-xr-x 1 root root 1698165 Oct 20 23:15 /usr/bin/amulecmdDLG
-rwxr-xr-x 1 root root 22689910 Oct 20 23:15 /usr/bin/amuled
-rwxr-xr-x 1 root root 15675416 Oct 20 23:15 /usr/bin/amulegui
-rwxr-xr-x 1 root root 5408912 Oct 20 23:15 /usr/bin/amuleweb
-rwxr-xr-x 1 root root 5705012 Oct 20 23:15 /usr/bin/amulewebDLG
How can I obtain binary in smaller size? Thanks in advance
-
Chances are that you compiled with debug which makes binaries HUGE. Add
--disable-debug --enable-optimize
to your configure line.
-
Ok, the problem is with amule-cvs-2.ebuild that compile always with debug. USE="-debug" doesn't work...
-
Either compile amule yourself or edit the ebuild. It shouldn't be that hard, but if you give me a hint to the ebuild I can edit it for you ;)