Skip to content

Support for separate Linux ARM architectures#1355

Open
MRK2009 wants to merge 1 commit into
HaxeFoundation:masterfrom
MRK2009:master
Open

Support for separate Linux ARM architectures#1355
MRK2009 wants to merge 1 commit into
HaxeFoundation:masterfrom
MRK2009:master

Conversation

@MRK2009

@MRK2009 MRK2009 commented Jul 12, 2026

Copy link
Copy Markdown

Redo of Lily's pr #1159

You can finally use the arm architecture flags to able to compile on linux arm instead of only running it on different architectures to able to compile.

It seems lime has some armv7 linux support, but not that much because it's still supports arm64.

@MRK2009 MRK2009 force-pushed the master branch 5 times, most recently from 48bc6f9 to dd5fba5 Compare July 13, 2026 14:38
@MRK2009

MRK2009 commented Jul 13, 2026

Copy link
Copy Markdown
Author

I think it's necessary enough to be merged. 🤔

@MRK2009 MRK2009 force-pushed the master branch 3 times, most recently from 0c8453c to 237e7f7 Compare July 14, 2026 16:19
@MRK2009

MRK2009 commented Jul 15, 2026

Copy link
Copy Markdown
Author

Sorry for committing too much, I was trying to think of an alternative way to make it work.

Comment thread docs/build_xml/Defines.md
| *HXCPP_ARMV7* | Compile arm-based devices for armv7 |
| *HXCPP_ARMV7S* | Compile arm-based devices for armv7s |
| *HXCPP_LINUX_ARMV7* | Run on a linux ARMv7 device |
| *HXCPP_LINUX_ARM64* | Run on a linux ARM64 device |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should instead put these in a new deprecated/removed define section, people might be using this flag and it would be confusing if they search it up in the documentation and there is no trace of it.

Comment thread tools/hxcpp/BuildTool.hx
defines.set("toolchain","linux");
defines.set("linux","linux");

if (defines.exists("HXCPP_LINUX_ARMV7"))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be ok to remove this for hxcpp 5, but until then it would be best to avoid the breaking change and to continue to respect this define.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll look into it.

@MRK2009

MRK2009 commented Jul 16, 2026

Copy link
Copy Markdown
Author

I brought back the defines.
So it won't break.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants