Re: Unable to install package gcc-4.7-arm-linux-gnueabi
Neil Williams <[email protected]> Sun, 4 Jan 2015 12:08:18 +0000
| Newsgroups | gmane.linux.debian.devel.embedded |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 4 Jan 2015 00:21:55 +0100 Andreas Schaefer <[email protected]> wrote: > Hello. > > I try to setup a debian wheezy machine to cross compile a debian > system for arm. ARM is an outdated Debian port (ARMv4). armel is for ARMv5 (PXA) armhf is for modern ARM hardware - panda, beaglebone-black, cubie, bananapi ... gcc-arm-linux-gnueabihf > I’m having trouble to get packages installed. If i’m > wrong here at the mailing list please let me now. Yes, you've been directed to the wrong instructions. https://wiki.debian.org/EmdebianToolchain Now has a prominent notice that the emdebian toolchains are unsupported and pointing at the proper location: https://wiki.debian.org/CrossToolchains > deb http://ftp.de.debian.org/debian/ wheezy main > deb-src http://ftp.de.debian.org/debian/ wheezy main You need this: https://wiki.debian.org/CrossToolchains#Using_a_chroot_of_unstable (for gcc-4.9-arm-linux-gnueabi though you probably want the ARMv5 support in gcc-4.9-arm-linux-gnueabihf) > I did an apt-get update and an apt-get install > emdebian-archive-keyring. So i do not get any NO_PUBKEY error - fine. No, that is not fine. The key has been revoked. Do not trust anything signed by it. Those who have already installed these packages can continue to use them but must not install any updates (there won't be any from original sources). > Ok. Now when i try to install libgomp1-armel-cross like this: Don't go down the -arm*-cross road, it just isn't worth it. > I guess ‘wheezy’ is stable so i should not get package problems like > they may appear in testing or unstable. What am i doing wrong? Wheezy is stable - for a little while longer at least. Cross-toolchains are not. Cross-toolchains are not part of wheezy and therefore do not follow the same rules as apply to wheezy. You will get package problems with cross-toolchains because those packages are not part of wheezy. Cross-toolchains are not in the next stable release, Jessie, either. However, the toolchains in unstable are at least supportable. The situation will improve with the Stretch release but neither Wheezy nor Jessie have cross-toolchains included in the release and both need mangling to get cross-building working. > Do i have to build 4.8 from sources using an installed gcc-4.7? You can, or you simply use a chroot. -- Neil Williams ============= http://www.linux.codehelp.co.uk/
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUqS0yAAoJEPFn5DyBQ7aCdPoQAIU3fLoMzc6J0As0Vjn/FYRQ 4PZDzRrD9eFxM+cQUmU7xY+pIh/RwZQzQLEH8n/+1+oPKwj7tglhJPhptVdtYh1m xgh6f0e5uEYKSjKEg2f8bkgDGBq1KpmAW4hS8aohtHGCFCWK821Lkm7f/dnhXqP3 7havF88tq5YckfZT68As3lKbcDtkwh9xoJNVRkmV01Gs5yZB3JXg8bigAo1Rd1DC fyN7fPU3Eyhzy+NwOFqIw5OrESrp03vrat92XZrkWpHYeX70sdoLKjmPTCDABcHh PAw5yeSuhaIZhHyeIuqhaf5H/7+WlrQABAwtEao6/w6Humf4LfFL16B09eFRpHG6 hNG0t/h0eUq9TvB2h7PLuE1e5FlfvcLeBqGBTXm4i5cZqy8ftkhXTpYgUq26xzkT v3XB42Jee5R/M1pn3l70hQ6GvfSBJLWUma2G0akIyu3w6eiJJoxpUK6mja7De24/ DRbARqq29Khc4gkCEoVdB30a4gTCCeIAn38MZMpffmKY9RBG6cAwVkzngXfP0vqp Lq8dEPVnyTVZWUMAOjT0VcPK0buUZohtGWoapn6WKSqLjD4pBzQ3ROYpAqY68LGi xNmksqzFoUy8wwaLRT3O+RU6agSmmEhe30fsRBEsP84jYZ9vvn90KVd7Pg4jiaTR lN0Pyl6aRdSrcEe42UfI =hlH0 -----END PGP SIGNATURE-----