aMule Forum
English => Compilation problems => Topic started by: Festor 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:
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
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
-
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.