Re: [cc65] ca65 as crosscompiler

From: Christian Groessler <chris1groessler.org>
Date: 2013-10-09 00:01:19
Hi Uz,


On 10/08/13 22:50, Ullrich von Bassewitz wrote:
> 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).


Ah, ok. I didn't know that.


>> - '--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;
> }
> [...]


I was using the latest 'git' version (from Oliver's repo).


regards,
chris

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Oct 9 00:01:31 2013

This archive was generated by hypermail 2.1.8 : 2013-10-09 00:01:32 CEST