Re: [cc65] ca65 for stand-alone asm projects

From: Daniel Serpell <daniel.serpell1gmail.com>
Date: 2010-11-06 15:01:58
Hi!,

On Sat, Nov 6, 2010 at 9:34 AM, Ullrich von Bassewitz <uz@musoftware.de> wrote:
>
> On Fri, Nov 05, 2010 at 11:30:13PM -0300, Daniel Serpell wrote:
>> Attached is a patch that adds a new target, named
>> "atari-asm" with this simple header and linker config
>> file.
>
> This is basically the sort of thing suggested by Oliver. What I don't like
> about your approach is that it generates a completely new target that shares
> most things with the existing atari target. As Oliver has pointed out, most
> things can be done by using the "extra directory" stuff already implemented.
> The command line would become slightly longer but that's bearable I think.
>
>> The problem is that I couldn't force the linker to always
>> import a symbol, so you have to still add to your
>> assembly files the directive "forceimport _header".
>
> Being able to force a symbol import by linker config would solve that problem.
> I don't remember if I had already looked into that or not.

Well, if the importing of symbols from the linker config were implemented,
the simple header objects could be included in the standard library, so
using the new linker config from "cl65" would work, as:

   cl65 -t atari -C atari-asm my-files.s ....

This will certainly simplify the use of ca65 for beginners, and allow me to
stop manually including my header and linker scripts on all ca65 projects :-).

Regards,

    Daniel.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Nov 6 15:02:09 2010

This archive was generated by hypermail 2.1.8 : 2010-11-06 15:02:12 CET