mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-05-09 08:25:44 +02:00
[GH-ISSUE #229] Can't build on Arch Linux even on GCC 10 #91
Labels
No labels
bug
duplicate
easy
enhancement
enhancement
fixed
fixed
good first issue
hard
invalid
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Upsilon#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GitEz-code on GitHub (May 10, 2022).
Original GitHub issue: https://github.com/UpsilonNumworks/Upsilon/issues/229
I tried multiple version from Arch repos, and even in the archives with always the same error:
(i'm sorry for my bad english)
@Yaya-Cout commented on GitHub (May 10, 2022):
I am using the
arm-none-eabi-gccpackage at the latest version (12.1.0) and it works. Can you try to upgrade your system usingpacman -Syu(or the wrapper for AUR, if you want) ?@Tunas1337 commented on GitHub (May 10, 2022):
I'm unsure where you got 12.1.0 from; the latest I see is 11.2.0, which did not work.
However, the NumWorks site offers an alternative, which worked for me: a standalone copy of the toolchain to be placed in a folder and included in the PATH. See the relevant section in the guide on Installing the SDK, also copied below for your convenience:
You’ll also need to install the latest version of GCC and make it available in your $PATH:
tar xvfj gcc-arm-none-eabi-*-linux.tar.bz2echo "export PATH=\$PATH:`find $(pwd)/gcc-arm-none-eabi-*-update/bin -type d`" >> ~/.bashrcshould do what you need (you’ll need to restart your terminal afterwards).@Yaya-Cout commented on GitHub (May 10, 2022):
It is for Msys2, not for Arch Linux
@Tunas1337 commented on GitHub (May 10, 2022):
Do you mean the instructions given, or GCC 12.1.0? The instructions worked alright for me on Arch, and I think they worked for the person who opened the last issue about not being able to compile on Arch.
@Yaya-Cout commented on GitHub (May 10, 2022):
I mean the given instructions : It works perfectly on my fresh installation of Arch…
@GitEz-code commented on GitHub (May 11, 2022):
did the Msys2 instruction work on arch ? for now, i'm using a docker with ubuntu
@Yaya-Cout commented on GitHub (May 11, 2022):
I just built Upsilon, and installed missing packages thought pacman when I had errors… I don't think that the Msys2 installation is made for Arch Linux because Msys2 is on Windows.
@GitEz-code commented on GitHub (May 11, 2022):
the problem was reported here too, the solution they give doesn't work for me. #191
@GitEz-code commented on GitHub (May 11, 2022):
I'll try to upĝrade, I'll keep you posted.
@Yaya-Cout commented on GitHub (May 11, 2022):
Are you using a custom theme ?
@Yaya-Cout commented on GitHub (May 11, 2022):
I think your bug come from the missing
MODEL=bootloaderin the build command.@GitEz-code commented on GitHub (May 11, 2022):
I upgraded my system, but there still the same issues, It build perfectly well on the docker so it's not a problem of Upsilon. I made
make cleanbefore building. I'm not at home so I can't try on a other computer.@Yaya-Cout commented on GitHub (May 11, 2022):
Can you try to build using
make binpack MODEL=bootloaderafter amake cleanall?@GitEz-code commented on GitHub (May 11, 2022):
I don't have access to my computer yet, I will try later
@GitEz-code commented on GitHub (May 11, 2022):
look like it worked, but how can i flash it to the numworks ? when i do make epsilon_flash, it just rebuild (with the same error)
@Yaya-Cout commented on GitHub (May 11, 2022):
make epsilon.A_flash MODEL=bootloaderfor the slot A@GitEz-code commented on GitHub (May 11, 2022):
have i to install a bootloader ? or is it ok without one ?
@GitEz-code commented on GitHub (May 11, 2022):
Instruction en Français
Cette fois ça marche parfaitement. je vais quand même donner les instruction pour ceux qui aurais besoin.
Déja, si vous avez tenter de build sans succès, commencer par faire
make cleanall. Ça va permettre de supprimer le dossier output qui a échouer.Ensuite, entrer cette commande:
make binpack MODEL=bootloader -j4.Pour finir, enter :
make epsilon.A_flash MODEL=bootloaderpour le flasher dans la NumworksLors de mon premier essai, la calculatrice donnais aucun signe de vie. Si c'est aussi votre cas, appuyez simplement sur le bouton RESET au dos de la calculatrice.
Instruction in English
This time it works perfectly. I will still give the instructions for those who would need.
First of all, if you have tried to build without success, start by doing
make cleanall. This will remove the output folder that failed.Then enter this command:
make binpack MODEL=bootloader -j4.Finally, enter:
make epsilon.A_flash MODEL=bootloaderto flash it in the NumworksOn my first try, the calculator gave no sign of life. If this is also your case, simply press the RESET button on the back of the calculator.