This is a cache of https://discuss.96boards.org/t/gcc-toolchain-for-alip/217. It is a snapshot of the page at 2024-10-31T02:48:52.798+0000.
GCC toolchain for ALIP - DragonBoard410c - 96Boards Forum

GCC toolchain for ALIP

Hi,
I noticed that only linaro-vivid-developer has the GCC toolchain, but I want to install that toolchain on linaro-vivid-alip. Which package should I apt-get install? Tried gcc-arm-linux-gnueabihf but the binaries generated by this tool didn’t work.

hi,

to install the build tools on the board , and compile natively:

apt-get install build-essential

What you installed was the cross compiler to generate armv7 hard-float binaries, since we are running aarch64 (armv8) on the DB410c, compiling armv7hf on aarch64 is indeed cross compilation :wink:

The actual compiler package on the board is ‘gcc’, so apt-get install gcc should work, but build-essential is a better choice anyways.

[SOLVED]
Hey ndec,
Thanks for the quick response, after a little bit of late night research I realized the eabihf vs aarch64 mistake I did :). I was able get things working with apt-get install gcc, but will try out build-essential and stick to it.

Thanks