Re: [cc65] ca65 as crosscompiler

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2013-10-08 22:50:21
Hi!

On Tue, Oct 08, 2013 at 10:41:05PM +0200, Christian Groessler wrote:
> During the mail flow today I found out two other things:
>
> - Why doesn't ld65 complain about non-existing segments on the
>   "none" target? (see my simple Atari assembler example)

Assuming that you mean the assembler program from the last post: Because ca65
always emits the default segments. So the segments named CODE, DATA, BSS and
so on are always present in the generated object file, but they're empty if
unused in the code. This is different from other, user specified segments
(like LOWCODE or INIT).

> - '--dump-config' doesn't work:
>   $ ld65 --dump-config c64
>   ld65: Unknown option: --dump-config

Oops? Works here:

$ ld65 --dump-config c64
MEMORY {
ZP:  start = $0002, size = $001A, type = rw, define = yes;
RAM: start = $07FF, size = $C801, file = %O, define = yes;
}
[...]

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
Encrypted email preferred                          PGP Key-Id: 29D93B10
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Oct 8 22:50:30 2013

This archive was generated by hypermail 2.1.8 : 2013-10-08 22:50:32 CEST