Re: [cc65] Segment EXEHDR does not exist - while using ld65 directly

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-07-20 22:57:52
On Mon, Jul 20, 2009 at 10:39:05PM +0200, Ullrich von Bassewitz wrote:
> The idea is good, but I don't think the compiler should reference _exit but
> the STARTUP segment instead.

Just found out that this won't work. __STARTUP_RUN__ (or whatever) is
generated by the linker once it finds a startup segment and the "define=yes"
attribute is set. But if the crt0.o module is not linked in, there's no
startup segment. Maybe using exit() wasn't so bad ...

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Jul 20 23:00:49 2009

This archive was generated by hypermail 2.1.8 : 2009-07-20 23:00:50 CEST