Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
Hi all,
is there a way to create some kind of library in rgbds? I mean: I have a file with several utility subs, and I only want to compile those needed for the current project.
Offline
No, there is no way to compile only what you need. There's a feature request for "smart linking" which would only include sections that actually get referenced, but it's unclear how the user would use it, so it's gone nowhere for now.
Offline
Sounds a lot like link-time optimization to me, to be honest.
Offline
Well, it is, but it's probably as far as that can go for ASM, since there's no compilation so to speak. Personally, I wouldn't find it bothering.
Offline