On Fri, 29 Oct 2010 12:18:58 +0200 David Kuehling <dvdkhlng@gmx.de> wrote: > For armel targets, I was quickly able to get a fully working > cross-compile environment using apt-cross and installing > g++-4.3-arm-linux-gnueabi toolchain from the Emdebian Lenny repository. Why are you cross-compiling? Use native armel packages wherever possible and only cross-build those packages which either do not exist in Debian or which require functional changes in the final binary. Everything else you should get from Emdebian Grip, Grip Baked or Debian. http://www.emdebian.org/grip http://www.emdebian.org/baked > For powerpcspe, it is more difficult. powerpcspe packages for Emdebian Grip are being prepared but the repository is not ready yet. Use apt-grip to pull the natively built packages from debian-ports. > - I wonder what's required to get a pre-build powerpcspe > cross-toolchain into Emdebian? Current gcc-4.4 from Sid seems to > work fine. Would be happy to supply patches if somebody could state > what else needs to be done. If you have a reason to cross-build at all .... > - Installing a sysroot via apt-cross is somewhat difficult for > powerpcspe since it requires installing packages from both 'sid' and > 'unreleased' suites. Use xapt http://lists.debian.org/debian-embedded/2010/10/msg00047.html > Apt-cross can only use one suite at a time, and > doing alternating installs from 'sid' and 'unreleased' requires > properly selecting package order and causes all kind of dependency > problems. Any known workaround for that? Don't use apt-cross, use xapt. http://www.emdebian.org/toolchains/search.php?arch=i386&distro=sid&package=xapt deb http://www.emdebian.org/debian main sid $ sudo apt-get install xapt (if you've got the toolchain repository as an apt source for sid.) > - It seems to be impossible to find the source-packages corresponding > to the binary packages in debian-ports. E.g. debian-ports contains > gcc-4.4_4.4.4-4+powerpcspe4.5.dsc, however the corresponding > gcc-4.4_4.4.4.orig.tar.gz is not present on any debian mirror AFAICS. Try snapshot.debian.org - debian-ports is often out of date / behind. -- Neil Williams ============= http://www.data-freedom.org/ http://www.linux.codehelp.co.uk/ http://e-mail.is-not-s.ms/
Attachment:
pgpDUwK4tsG1a.pgp
Description: PGP signature