On Fri, Nov 06, 2009 at 12:38:33AM +0100, Goswin von Brederlow wrote:
> I'm trying to build a cross-compiler for i486-linux-gnu for amd64
> Debian and it fails. I know, I know, there is gcc -m32. But I need to
> test cross-compiling and I don't have an arm cpu to test with.
> 
> I followed the instructions on http://emdebian.org/tools/crossdev.html
> 
> export GCC_TARGET=i386
> debian/rules control
> dpkg-buildpackage -b -rfakeroot
> 
> The problem comes when building a 64bit libgcc:

I had the same problem. Further considering that I simply don't need to
use the i486-linux-gnu compiler to build binaries for x86_64-linux-gnu
(I can use the native compiler for that). Thus I disabled lib64 support
of the cross compiler by setting this environment variable:
> DEB_CROSS_NO_BIARCH=yes

-- 
Met vriendelijke groet,
With kind regards,
Giel van Schijndel



-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100309155142.ga31...@vps.mortis.eu

Reply via email to