-
Notifications
You must be signed in to change notification settings - Fork 267
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
ARM v6 and v7 target #34
Comments
Yes. First solution that I come in is to set:
Now you have two cross-compiler stored in different dirs. This compiler can be copied. (As far as I know) You both compile with
the part I have just year of experience. don't take my advices as proper solutions rather just working. if you use Archlinux or docker I can help you more. |
i guess the most important bit apart from the proper FPU selection is |
@xoac's directions are a bit misleading in that arm and armhf are different abis (and targets as far as musl is concerned), whereas armv6 vs armv7 are just different isa levels. Either can be built for hf or non-hf abi, as you prefer. In order to pick the default isa level, you need to add --with-arch=armv6 or armv7-a to GCC_CONFIG. |
@richfelker To make sure I understand you correct. |
yes, that's what he just said
sorry, i can't make sense of that. |
Using |
Thanks a lot for the explanation! I think it makes sense to add information about |
@rofl0r |
@xoac : yes you should build 2 different toolchains from scratch, both with the right options, but save them in 2 distinct directories. for example: |
No ;( |
ok. you want 2 different toolchains, both built with different |
Ok. I see. I thought armv6 can't be with |
This seems to be resolved; please reopen if I'm mistaken. |
Hello,
There is a documentation on Musl Getting Started page regarding distinctions between ARMv6 and ARMv7. There is no information about it in the Supported Targets list. Is it possible to build sperate cross-compilers for ARMv6 and ARMv7 now?
Thanks
The text was updated successfully, but these errors were encountered: