Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: whiskers75 on December 29, 2012, 05:25:16 AM

Title: i386 ARM target package?
Post by: whiskers75 on December 29, 2012, 05:25:16 AM
Could someone be as kind as to create a 32-bit APT (Debian) package for the ARM toolchain? Cross compiling is impossible with a 64-bit computer, and I need to make a package for Travis CI.
Thanks,
- whiskers75 ;)
Title: Re: i386 ARM target package?
Post by: torne on December 29, 2012, 07:19:25 AM
Building a 32-bit toolchain on a 64-bit computer is not impossible at all. The easiest way is to use a 32-bit chroot created with debootstrap, if you're on Debian, but it's also possible to build a Canadian cross toolchain (where the host, build and target platforms are all different).
Title: Re: i386 ARM target package?
Post by: whiskers75 on December 31, 2012, 10:23:58 AM
I get this error:

Code: [Select]
checking for suffix of object files... configure: error: in `/tmp/rbdev-build/build-gcc/arm-elf-eabi/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
Title: Re: i386 ARM target package?
Post by: torne on December 31, 2012, 01:59:00 PM
Do you have a 32-bit C library installed for the built compiler to use?
Title: Re: i386 ARM target package?
Post by: whiskers75 on January 01, 2013, 04:37:03 AM
No, can I ask how to do that on 64-bit Ubuntu 12.10?  :)
Thanks,
whiskers75