davidgiven / cpm65

CP/M for the 6502
BSD 2-Clause "Simplified" License
267 stars 23 forks source link

Failing to assemble .COMs on macOS (13.6) #73

Closed markjreed closed 8 months ago

markjreed commented 10 months ago

The order of assembly arguments in the Makefile doesn't work on macOS. bin/cpmemu $(OBJDIR)/asm.com -pA=$(dir $<) -pB=$(dir $@) ... results in the creation of files named -pA=dir and .pB=dir. It works if you move the -p options in front of the name of the file to execute: bin/cpmemu -pA=$(dir $<) -pB=$(dir $@) $(OBJDIR)/asm.com ...

davidgiven commented 10 months ago

Interesting. That's a getopt incompatibility between GNU getopt and BSD getopt --- I'll fix it. Thanks.

davidgiven commented 8 months ago

This should now be fixed as a side effect of other changes.