-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help with setting PREFIX #420
Comments
Here we go. You go to the following website: https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads On this website you go down to and open "Downloads: 12.2.Rel1", because this is still the recommended toolchain for Circle. You look for the host/target combination, you want to use, for example:
The host is the system, where you do your developing on. The target is your Raspberry Pi computer. RPi 1-2 only support AArch32, RPi 3-4 (including RPi Zero 2 W) additionally support AArch64. You have to decide, if you want to build 32- or 64-bit target images. Now that you have the toolchain archive on your hard disk, you extract it, for example to: /home/user/tools A new directory appears (for AArch32 here): /home/user/tools/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi When you look into the subdirectory bin/ of this path, you will find the toolchain binaries, for example: /home/user/tools/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-gcc You strip the "gcc" from the path and that's your toolchain prefix for Circle:
If you want to build 64-bit kernel images, you have to set You can also use the
configure automatically determines, if AArch32 or AArch64 is used, and writes the right prefix variable ( |
Thank you. I will try this out. It might be worth noting in the README to avoid using the |
The .pkg files may work too, but I didn't try this.
|
Closed due to inactivity. |
I'm new to certain tooling stacks and I'm having trouble understanding the instructions for compiling circle.
I have tried several variants of
PREFIX
andPREFIX64
, but it tells me the prefix is invalid no matter what. I'm also confused about the trailing dash, in this scereenshot below, you can see that none of the releases have a - after the wordseabi
orelf
It would really help if you provided examples of the package names one might have downloaded and what the corresponding prefix for them, as well as clarify PREFIX vs PREFIX64. I assume that this is for 32bit raspberry pis vs 64bit raspberry pis and the value of the toolchain needs to conform to the building machines architecture.
I'm excited to build some cool things with Circle!
The text was updated successfully, but these errors were encountered: