Jump to content

Recommended Posts

Posted

Hi all, 

 

first post here. I have an orange pi zero and I want to develop some C++ apps on it. My app is going to be a bit big, and at the moment compiling it on the ZERO takes FOREVER (I guess its just the RAM, not CPU)! Compiling it on my intel i9 PC is just a matter of seconds.

 

So I managed to find gcc-linaro-10.2.1-2021.04-x86_64_arm-linux-gnueabihf  and I can cross compile and then remotely debug it on the ZERO....life is much better now all of the sudden. But I have some concerns, would be nice if you walk me though:

 

1) I am running Armbian 20.04 on the ZERO which I believe is compiled with GCC 9.3.0. I could not find a Linaro package for 9.3.0 therefore I ended up with 10.2.1. Do you think it is safe to use a higher version of compiler? would I run into problems later?

2) Does Armbian 20.04 has an official toolchain that I can run on my PC, instead of the Linaro? If so where can  I find it and if not how can I do it myself?

 

Thanks in advance

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines