[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#554690: [DebianBug:554690] Building cross-compiler for multilib arch fails



On Tue, Mar 09, 2010 at 04:51:42PM +0100, Giel van Schijndel wrote:
> 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

PS I documented the build process a bit more thoroughly on my blog [1].

[1] http://blog.mortis.eu/blog/2010/03/building-a-x86-cross-compiler-on-a-x86-64-debian-based-system.html

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

Attachment: signature.asc
Description: Digital signature


Reply to: