-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
Moving from an older build onto newer WLA DX, I found:
- At some point, it became necessary to add
-tin addition to-Mto make it not fail if a file is not found for an.incbindirective. (In makefile generation mode, the goal is to instruct make as to which files are missing so it can produce them, so they are expected to be missing.) - The latest code fails even with this flag.
Example code:
.rombankmap
bankstotal 1
banksize $4000
banks 1
.endro
.incbin "file_not_found.bin"
Run:
wla-z80 -t -M -MF test.makefile -o test.o test.asm
Get:
test.asm:7: FIND_FILE: Could not open "file_not_found.bin", searched in the following directories:
./ (current directory)
test.asm:7: ERROR: Couldn't parse ".incbin".
Adding -c doesn't make it continue after this error. I didn't bisect when these changes happened yet...
Metadata
Metadata
Assignees
Labels
No labels