aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Binary size problem?  (Read 2537 times)

setabi

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Binary size problem?
« 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
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Binary size problem?
« Reply #1 on: October 20, 2005, 11:48:12 PM »

Chances are that you compiled with debug which makes binaries HUGE. Add
Code: [Select]
--disable-debug --enable-optimizeto your configure line.
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

setabi

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: Binary size problem?
« Reply #2 on: October 21, 2005, 10:06:36 AM »

Ok, the problem is with amule-cvs-2.ebuild that compile always with debug. USE="-debug" doesn't work...
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Binary size problem?
« Reply #3 on: October 21, 2005, 02:03:22 PM »

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 ;)
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.