Added build scripts for gcc-arm-none-eabi cross compiler#5
Open
andersnm wants to merge 4 commits intoDavidebyzero:masterfrom
Open
Added build scripts for gcc-arm-none-eabi cross compiler#5andersnm wants to merge 4 commits intoDavidebyzero:masterfrom
andersnm wants to merge 4 commits intoDavidebyzero:masterfrom
Conversation
…y modified cart linkscript from DevKitPro and original crt0.s. Changes are documented in crtls/README.md. Added main README.md with build instructions for Windows and Linux/Debian.
… it to the 128 KiB mark This allows the ROM to be flexibly larger than 128 KiB." Based on commit 8a93fa1 by Davidebyzero
9fde4fb to
f4cce5b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2. This PR adds a make.sh that builds a working gbagi.bin with the gcc-arm-none-eabi cross compiler on Linux (Debian Bookworm). It still builds with the original DevKitAdv's make.bat on Windows as a reference. Tested mingw-romgui + gcc-arm-gbagi + sq1 on mGBA
crtlsdirectory; includes a READMEDecided to keep the original crt0; it would be nice to migrate to DevKitPro's crt0 as well, but involves porting the interrupt handling which is better done separately.
The PR also adds a repo README with build instructions for Windows and Linux. Github Actions coming later