aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: i686-linux-gnu for Debian Lenny (at least)  (Read 3596 times)

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
i686-linux-gnu for Debian Lenny (at least)
« on: July 29, 2008, 09:30:03 PM »

Compiling, compiling aMule 2.2.2 rc1 I think that use i686-linux-gnu instead of i486-linux-gnu will improve (at least a bit) aMule speed.

I use .diff.gz of Debian packages but my debian only recognizes i486-linux-gnu (with a Pentium 4  :o).

My tip is change  i486-linux-gnu for  i686-linux-gnu in rules file:

Code: [Select]
DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

confflags += --build $(DEB_BUILD_GNU_TYPE)

# Only specify --host when cross-compiling
ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
    confflags += --host $(DEB_HOST_GNU_TYPE)
endif

to

Code: [Select]
confflags += --build i686-linux-gnu

# Only specify --host when cross-compiling
ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
    confflags += --host i686-linux-gnu
endif

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: i686-linux-gnu for Debian Lenny (at least)
« Reply #1 on: July 30, 2008, 05:06:56 AM »

And what happens when it's compiled on a ppc debian, or an arm debian? Debain runs on at least 11 arches, that's why this lines are in there in that form.
Logged
Homefucking is killing prostitution