Cross Compilation with Eclipse Issue

There are many solutions to this, but I did post some suggestions on a thread in the old forum some time back.
https://forum.beagleboard.org/t/re-beagleboard-ide-eclipse-for-beaglebone-on-windows/2433/6

Ex:
Try downloading the gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf toolchain and set the Cross Settings to reference this:
https://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/

Just unpack the file and reference it in Eclipse.
Ex:
Prefix: arm-linux-gnueabihf-
Path: “Path to the toolchain”
Ex:
PATH: H:\Development\BeagleBoard\Toolchain\gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf\bin

NOTE: Since the BB is 32 bit ensure you are selecting a 32 bit toolchain.

Set Tool Chain Editor to:
Current toolchains: Cross GCC
Current builder: CDT Internal Builder

This works for me with Eclipse 2019

Other references are:

Derek Molloy’s Exploring BB. It is a bit older:
http://exploringbeaglebone.com/chapter7/

Or Jan Cumps post on element14:
https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/f/forum/30795/debug-bbb-from-windows-eclipse-ds-5-ccs-ide

Cheers,

Jon

1 Like