Skip to content

Conversation

mark9064
Copy link
Member

@mark9064 mark9064 commented Jun 27, 2025

First commit fixes build for GCC 14

Second one adds nano specs to the compiler flags (needed as it sets compiler options) and uses nosys specs rather than linking manually. This made the group entries redundant also. Nice explanation of the spec files: https://metebalci.com/blog/demystifying-arm-gnu-toolchain-specs-nano-and-nosys/

Copy link

Build size and comparison to main:

Section Size Difference
text 379112B -16B
data 948B 0B
bss 22536B 0B

Run in InfiniEmu

@mark9064 mark9064 added the maintenance Background work label Jun 27, 2025
@mark9064 mark9064 added this to the 1.16.0 milestone Jun 27, 2025
@shaleh
Copy link

shaleh commented Sep 16, 2025

Why does GCC14 matter when we are using a much older ARM cross compiler chain? Or is this an attempt to move the cross compile chain to a more recent version?

@mark9064
Copy link
Member Author

Yeah exactly, this enables us to upgrade the compiler later. Also it's more semantically correct anyway, so it's a win-win

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Background work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants