-
Notifications
You must be signed in to change notification settings - Fork 11
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
Write more documentation about low-level build system details #210
Comments
A few more thoughts:
|
i was going to try and make a fork and contribute properly, having you find out about it this way feels kinda bad. all the info here is very good, especially for the debugging. i should probably say now that my actual overarching goal was to make ds homebrew with rust. most things supposed to be used for it didn't work and at that point i was very frustrated trying to pull apart the blocksds makefiles myself. i do have some folders sitting around with varying levels of features and rust integration at this point, although i've forgotten the steps i took to get there and what's exactly in them. can't get them to build now. the two main things i know i did was build the rust as a static library to put in the rest of the build system, and build a tiny rom without libnds (kept writing to some random pointer that wasn't in the code though?) i still want to do ds homebrew, i'll probably try to clean these up later. i'm also willing to contribute to wl-toolchain and blocksds if you think it would help (last i remember i think the build setup for the arch packages had some issues with directories? i'd need to refresh my memory on everything before i do anything else) |
No worries! In general, if you want help and you can't find anything in the documentation, you can ask us directly in the gbadev Discord server (in the #nds and #nds-help channels): https://gbadev.net/ Don't be scared to ask anything there! I've started a new page to document the build process in particular: #212 |
Note that Discord might not be an option for some users; unfortunately, we do not have the resources and time to maintain our own community or bridges to any other platform. (Between that and the lack of discoverability of already answered questions on Discord, maybe we should consider enabling GitHub Discussions...) |
Yeah, that's true, but it's the best option for quick support. There is also an IRC bridge that people can use if Discord isn't an option: https://gbadev.net/chat.html However, GitHub is better for design discussions because of how it can encourage people to actually think about what they write and it helps being structured with the text. I've enabled it in case it is useful. |
We might want to document |
I forgot to mention it, I've added a note about this: d8e08b6 |
I found a post by @SArpnt which outlines some unintuitive aspects to the way BlocksDS is put together that could be resolved by documentation. Low priority, but I'll outline the gist as extracted from the post here; these could form the beginning of an FAQ:
-nostartfiles
to the linkerexit()
, etc.specs
files' role is to provide configuration flags for GCC. Many compiler arguments have been moved here in order to allow changing them with GCC and BlocksDS updates without causing downstream breakage to Makefiles provided by end-user projects.Some other questions which came up on Discord but shouldn't get stuck on Discord:
The text was updated successfully, but these errors were encountered: