Thanks. My bad, didn't read that last part. Luckily the procedure brings the correct lastest version.
**Note: to the end of the video ( on http://exploringbeaglebone.com/chapter7/) Derek adds shared libraries for the debug configuration pointing to: /usr/lib/arm-linux-gnueabihf instead use: /usr/lib/gcc-cross/arm-linux-gnueabihf On Friday, September 29, 2017 at 6:00:13 PM UTC-3, William Hermans wrote: > > > > On Fri, Sep 29, 2017 at 1:54 PM, Jose Valenzuela San Juan < > [email protected] <javascript:>> wrote: > >> Were you able to do this? >> The guide from Derek is a bit outdated. >> You don't have to use the source from embedian (as its deprecated). In >> debian 9 the cross compiling packages are in the standard repository. >> Follow this steps instead - Installation for unstable - from >> https://wiki.debian.org/CrossToolchains - : >> >> You must enable the appropriate (HOST) foreign architecture before >>> installing the cross-compiler. >>> >>> dpkg --add-architecture armhfapt-get update >>> >>> It is recommended to install the cross environment like this as that >>> pulls in all the necessary components: >>> >>> apt-get install crossbuild-essential-<arch> >>> >>> i.e >>> >>> apt-get install crossbuild-essential-armhf >>> >>> But you can install just the compiler with >>> >>> apt-get install gcc-arm-linux-gnueabihf >>> >>> Note that gcc-arm-linux-gnueabihf is (like the native 'gcc') just a >>> metapackage, which brings int he current version of the actual compiler >>> gcc-4.9-arm-linux-gnueabihf (c.f. gcc-4.9) >>> >> >> Everything else form the guide should be ok to follow. You could even try >> to install a newer eclipse version if you want, it works fine. >> >> PD. The step in which you get the error is optional. Derek uses it only >> to show how easy is to get the versions of the libraries you need for >> either architecture.... >> > > You should be aware that Stretch uses a newer gcc: gcc version 6.3.0 > 20170516 (Debian 6.3.0-18) > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/66068d3f-d59b-45ba-ae80-cc00e54ebb0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
