column
Posts: 5
Joined: Tue Jul 25, 2017 5:30 pm

Selecting cross compiler

Mon Jan 11, 2021 2:08 pm

Hello,

I would like to use cross compiler in order to build applications for my Pi4. I need it for both - Windows and Linux OS's. What cross compilers are available in general? Which ones are most popular?


slembcke
Posts: 8
Joined: Wed Nov 25, 2020 4:10 am

Re: Selecting cross compiler

Wed Jan 13, 2021 3:45 am

Throw this one on the pile: https://ziglang.org/ Besides just compiling the "Zig" language, it's actually a whole cross-compiling toolchain for Clang + LLVM for a fantastic number of targets all in an impossibly small package of like 30 MB. https://ziglang.org/documentation/master/#Targets Looks like you can use pretty much any platform you want as a host.

I just used it to get code up and running on the GameBoy Advance even! :D
Last edited by slembcke on Sun Jan 17, 2021 7:48 am, edited 1 time in total.

m4r35n357
Posts: 71
Joined: Fri Jul 06, 2012 4:31 pm
Location: UK

Re: Selecting cross compiler

Sat Jan 16, 2021 4:43 pm

Agreed, using Zig here!

GlowInTheDark
Posts: 1239
Joined: Sat Nov 09, 2019 12:14 pm

Re: Selecting cross compiler

Sat Jan 16, 2021 5:15 pm

The mods don't like it when you use the word "ridiculous" on this forum.
GitD's list of things that are not ready for prime time:
1) IPv6
2) 64 bit OSes
3) USB 3
4) Bluetooth

Loves Linux; loves to dance.

slembcke
Posts: 8
Joined: Wed Nov 25, 2020 4:10 am

Re: Selecting cross compiler

Sun Jan 17, 2021 7:53 am

GlowInTheDark wrote:
Sat Jan 16, 2021 5:15 pm
The mods don't like it when you use the word "ridiculous" on this forum.
Not sure I get why, but there are plenty of other adjectives I guess. Fantastic it is.

Return to “Other programming languages”