Re: [cc65] String Literal Segment in C code

From: Agent Friday <64subnet1gmail.com>
Date: 2010-12-03 03:19:37
On Thu, Dec 2, 2010 at 8:18 AM, Greg King <greg.king4@verizon.net> wrote:
> The reason for that need is that strings aren't put into the output
> until the entire source file has been compiled.  Then, all of the
> strings are merged and dumped, as a block.  In your example, you had
> _two_ #pragma rodataseg() lines; cc65 used the last one!

Wow!  So rodataseg is a module-wide setting.  Good to know.

Almost seems like the second use of that pragma within a module
should generate a warning, since it's not likely doing what the
author intended.

// Agent Friday
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Dec 3 03:19:44 2010

This archive was generated by hypermail 2.1.8 : 2010-12-03 03:19:47 CET