cd bibuild && CC="gcc -m32" LDFLAGS="-L/lib32" \ ../configure --prefix=/usr \ --mandir=\${prefix}/share/man \ --infodir=\${prefix}/share/info \ --host=x86_64-linux-gnu \ --enable-static --disable-maintainer-mode
I then tried adding -rpath and/or -rpath-link in LDBIFLAGS. This caused configure to fail, since the test binaries weren't executable on the build host (Fails with "exec format error"). Configure really should using cross-compiler mode.
Next I tried creating a BI_DEB_HOST_GNU_TYPE (in this case, i486-pc-gnu-linux) and using that as the --host type. Configure still did not enter cross-compiler mode.
I'm out of ideas at this point. Elimar Riesebieter wrote:
On Mon, 29 May 2006 the mental interface of Ray Kohler told:Not effective, no change at all. I also tried this variation, which was not any better:Hmm, these where for installing. I introduced LDFLAGS and have no amd64 handy. Could you please one more try then? --- rules.orig 2006-05-29 19:26:19.000000000 +0200 +++ rules 2006-05-29 20:52:19.000000000 +0200 @@ -33,6 +33,7 @@ configure_biarch_stamp = configure-biarch-stamp build_biarch_stamp = build-biarch-stamp BIARCH_CC = gcc -m$(bi) + LDBIFLAGS = -L/lib32 dpkg_ctrl_args = -- '-Vbilib:depends=libc6-$(biarch_cpu)' \ '-Vbidev:depends=libc6-dev-$(biarch_cpu)' endif @@ -66,7 +67,8 @@ rm -rf bibuild mkdir bibuild mkdir bibuild/include - cd bibuild && CC="$(BIARCH_CC)" ../configure --prefix=/usr \ + cd bibuild && CC="$(BIARCH_CC)" LDFLAGS="$(LDBIFLAGS)" \ + ../configure --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --datadir=\$${prefix}/share \
smime.p7s
Description: S/MIME Cryptographic Signature