gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit ccdff22a6b3d3cfe0c89dbacefbbf6aeadb771e6 parent 35bde80f2f2243fe16c15e452b23690d4fde2234 Author: bbbbbr <bbbbbr@users.noreply.github.com> Date: Thu, 25 Apr 2024 19:00:49 -0700 Merge pull request #645 from bbbbbr/lcc/wl_u_note lcc: add note about -Wl-u requiring an sdcc patch Diffstat:
| M | gbdk-support/lcc/lcc.c | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/gbdk-support/lcc/lcc.c b/gbdk-support/lcc/lcc.c @@ -976,6 +976,9 @@ static void opt(char *arg) { llist[L_ARGS] = append("-j", llist[L_ARGS]); // linker: .noi output alist = append("-l", alist); // assembler: .lst output + // -Wl-u currently requires a patch to SDCC so it warns instead errors out and + // build fails if no matching .lst file is present for an object file. + // For example: When the user includes a pre-built object file for a music driver llist[L_ARGS] = append("-u", llist[L_ARGS]); // linker: .lst -> .rst address update llist[L_ARGS] = append("-w", llist[L_ARGS]); // linker: wide listing in .map file return;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.