Re: [cc65] externzp decls

Date view Thread view Subject view

From: Tim Vanderhoek (vanderh_at_ecf.utoronto.ca)
Date: 2000-01-30 07:33:29


On Sat, Jan 29, 2000 at 11:15:12PM +0100, Ullrich von Bassewitz wrote:
> 
> There is already a #pragma to do exactly this. This is the reason why there
> is a SC_ZEROPAGE flag and all the code to create correct .importzp
> instructions for the assembler.

Hehe.  It seemed too easy.  :)

> not documented in section 7 of cc65.txt, which describes the #pragmas. Maybe
> this decision was wrong, since it forced you to spend time and labour in
> search for another solution. I hope this is not too disappointing.

Nope, not disappointed at all!  However, I can say it would have
saved some time if it had been documented.  :)


> Until such a solution exists, please use
> 
> 	#pragma zpsym ("foo");

Incidentally, cc65 segfaults if the pragma preceeds the extern decl.


-- 
Signature withheld by request of author.
----------------------------------------------------------------------
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 : 2001-12-14 22:05:35 CET