diff --git a/doc/cl65.sgml b/doc/cl65.sgml index d7c690b9e..1d32677db 100644 --- a/doc/cl65.sgml +++ b/doc/cl65.sgml @@ -245,7 +245,7 @@ into an executable named morse: cc65 -g -Oi -t c64 morse.c ca65 -g morse.s ca65 -g irq.s - ld65 -t c64 -o morse c64.o morse.o irq.o c64.lib + ld65 -o morse -t c64 c64.o morse.o irq.o c64.lib When using cl65, this is simplified to diff --git a/doc/debugging.sgml b/doc/debugging.sgml index cf2df7c54..7f9771286 100644 --- a/doc/debugging.sgml +++ b/doc/debugging.sgml @@ -45,7 +45,7 @@ arbitary addresses), debug interrupt handlers and even debug routines that run inside the 1541 floppy. You may use the label file generated by the linker to make much more use -from the monitor. +from the monitor. @@ -90,7 +90,7 @@ file (I'm usually using a - ld65 -t c64 -Ln hello.lbl -m hello.map -o hello crt0 hello.o c64.lib + ld65 -o hello -t c64 -Ln hello.lbl -m hello.map hello.o c64.lib This will generate a file named hello.lbl that contains all symbols used in diff --git a/doc/grc65.sgml b/doc/grc65.sgml index 05afdbf8b..124190598 100644 --- a/doc/grc65.sgml +++ b/doc/grc65.sgml @@ -241,7 +241,7 @@ contains all of the executable code. Fourth and last step -- linking it together

-$ ld65 -t geos -o test.cvt resource.o geos.o test.o geos.lib +$ ld65 -o test.cvt -t geos resource.o geos.o test.o geos.lib &dquot; - ld65 -t c64 -o hello hello.o text.o c64.lib + ld65 -o hello -t c64 hello.o text.o c64.lib The argument after