Re: [cc65] Feature request for auto-export labels

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-09-04 12:21:28


On Thu, Sep 04, 2003 at 11:58:02AM +0200, MagerValp wrote:
> UvB> BTW: The VICE label file will go for the next release, so please
> UvB> don't use it for anything important.
>
> -Ln is being removed?

Yes. There is no sense in having the linker generate special files for every
purpose. Currently there are three files containing information about labels
and such: 

  1. The map file
  2. The VICE label file.
  3. The debug info file.

The debug info file is already available in 2.9.x using the --dbgfile option
to the linker. The format is currently undocumented, but will become
"official" for the next version. The VICE label file will be removed, instead
more information will be written to the debug info file. The goal is to have
just one file containing meta information about the input in an easily
parseable format. The debug info file will contain more information, like
information about segments, so a converter (which is easy to write using some
Perl magic) can not only extract the labels, but also information about
readonly segments, and convert this into a VICE macro file. It is also
possible to add such a converter to the cc65 package.

I think this approach is cleaner than having the linker generate direct output
for all sorts of emulators and other tools. Having such a file would also
enable emulator/debugger authors to write converters, which is currently much
more difficult (needs changes to the linker each time).

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-09-04 12:21:46 CEST