Daniel
Daniel

Reputation: 2602

Eclipse CDT: cross build with docker?

I wish to come through a massive limitation of cross-compiling:

Every single time I update my OS, it generates a newer binary requiring higher GLIBC version which is not able to run on my target machine until I update that target machine too (which I wish not).

I'm using aarch64-linux-gnu-g++, to cross-compile applications.

Mostly, applications have many dependencies:

I just realized Eclipse has an option to use a container to build the application(s).

But I'm rather beginner with Docker.

(How) can I use Docker to make/download a toolchain for aarch64 with custom GLIBC version and put it into Eclipse CDT to make it use for compilation?

Upvotes: 0

Views: 20

Answers (0)

Related Questions