Installing *i686.deb's with dpkg (wrong system type: i386 vs. i686)
Hello List,
I built a Debian source package optimized for my i686 system
by modifying the debian/rules (CFLAGS= -O3 -march=i686 -mcpu=i686).
When I try to install my new binary with
'dpkg -i gzip_1.3.2-3.686_i686.deb' I get an error that
the architecture of my package (i686) doesen't fit my system
type (i386).
Some informations about my system:
The /usr/bin/dpgk-architecture has been altered:
DEB_BUILD_ARCH=i686
DEB_BUILD_GNU_CPU=i686
DEB_BUILD_GNU_SYSTEM=linux
DEB_BUILD_GNU_TYPE=i686-linux
DEB_HOST_ARCH=i686
DEB_HOST_GNU_CPU=i686
DEB_HOST_GNU_SYSTEM=linux
DEB_HOST_GNU_TYPE=i686-linux
I use a self-built i686 kernel 2.4.18 with
Debian woody (3.0 r0).
How can I tell woody that my system is i686 and not i386?
I could use 'dpkg -i --force-architecture gzip_1.3.2-3.686_i686.deb'
but somehow that does not seem to be the "Debian way", right?
Thanks in advance,
the wannabe package developer named Jan
Reply to: