Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #6069

Re: Generic question about Apple2 / cc65 debugging

From Oliver Schmidt <ol.sc@web.de>
Newsgroups comp.sys.apple2.programmer
Subject Re: Generic question about Apple2 / cc65 debugging
Date 2023-08-12 20:39 +0000
Message-ID <ub8qlt$so1$1@solani.org> (permalink)
References <20230811201326.30841582@laptop-sigfox> <ub5vud$6uso$1@solani.org> <20230812151206.37af6bb6@laptop-sigfox>

Show all headers | View raw


Hi Colin,

> I've tried using --listing --add-source before, but I can't understand
> what I'm doing wrong. Maybe it's not supposed to be used directly with
> the cl65 helper:
> 
> cl65 -t ... -o program --listing <file> [numerous .c files]
> 
> generates a listing for only the last c file of the list.

There's one listing file for each source file. So the approach above can
conceptually not work.

I don't know if this works:
cl65 -t ... -o program --listing a.lst a.c --listing b.lst b.c

Anyhow, I'd rather create each object file individually with this:
cl65 -c -t ... --listing x.lst --add-source x.c

Regards,
Oliver

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Find similar


Thread

Generic question about Apple2 / cc65 debugging Colin Leroy-Mira <colin@colino.net> - 2023-08-11 20:13 +0200
  Re: Generic question about Apple2 / cc65 debugging Oliver Schmidt <ol.sc@web.de> - 2023-08-11 18:50 +0000
    Re: Generic question about Apple2 / cc65 debugging Colin Leroy-Mira <colin@colino.net> - 2023-08-12 15:12 +0200
      Re: Generic question about Apple2 / cc65 debugging Oliver Schmidt <ol.sc@web.de> - 2023-08-12 20:39 +0000

csiph-web