-
-
Notifications
You must be signed in to change notification settings - Fork 10
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 builds #3
ARM builds #3
Conversation
…sh - needs ARM or cross-compilation environment.
LGTM, I didn't actually tried it but it should not harm anyone. |
Do we have a chance that someone updates the ARM PR for arduino now? |
It turns out that this "someone" is me now. I had to compile astyle for arm now. I noticed that it gave me an error if I crosscompile the file from a linux x64 distribution. I am currently searching for a solution. We somehow need to pass the arch to the compiler. I tried We should fix this, once a solution is there. |
This is a solution, I just dont know how to integrate it (so linux builds dont break instead). Maybe they should add an arm folder upstream?
|
Adding the CXX flag here https://github.com/arduino/astyle/blob/master/arm.bash may be of any help? Something along the line of: |
I tried this, but it did not seem to overwrite the setting. Maybe I did something wrong. |
I found to be able to compile it I had to set the JAVA_HOME variable some where JAVA_HOME= |
Huh? We are talking about cross compiling. What does this have to do with selecting an arm compiler? |
Referencing arduino/Arduino#3549 in Arduino IDE repo - this is the script that I used to compile libastyle.