Re: [cc65] cl65 -t apple2 works, but cl65 -C apple2.cfg doesn't

From: Scott Alfter <scott1alfter.us>
Date: 2007-09-09 23:31:32
Ullrich von Bassewitz wrote:
> On Sun, Sep 09, 2007 at 02:35:40AM -0700, Scott Alfter wrote:
>> While trying to build some of the graphics demos, it's apparently necessary to
>> use an alternate configuration for the linker.  These apparently don't get put
>> anywhere under /usr/lib/cc65 during installation, but are buried in the source
>> tarball under src/ld65/cfg.
> 
> These config files are part of the -doc package and get installed under
> /usr/share/doc/cc65-doc-xxxx/ on a linux system. 

Found 'em under /usr/share/doc/cc65.

>> Trying to build tgidemo.c, though, failed:
>>
>> ld65: Warning: ./apple2-tgi.cfg(7): Segment `EXEHDR' does not exist
>> Unresolved external `__RAM_SIZE__' referenced in:
>>   crt0.s(13)
>> Unresolved external `__RAM_START__' referenced in:
>>   crt0.s(13)
>> ld65: Error: 2 unresolved external(s) found - cannot create output file
> 
> Are you sure you aren't mixing different versions of the files?

This particular machine I think has had only 2.11.0 on it.

>> I then went back to the "Hello, world" program and tried building that:
>>
>> cl65 -C apple2.cfg hello.c text.s
>>
>> That failed with the same error as with tgidemo.  OTOH, if I do this:
>>
>> cl65 -t apple2 hello.c text.s
>>
>> or this:
>>
>> cl65 -t apple2enh hello.c text.s
> 
> Sounds as if you have an old version of cc65 (or other executables) lying
> around. Please check that. If it is not the case please post the version
> number of the package and the operating system you're using.

2.11.0 is the latest version, right?  I'm using it under Linux (built manually,
installed on Gentoo...saw a reference to an ebuild in the mailing-list archive,
but it's now 404).

Scott Alfter
scott@alfter.us

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Sep 9 23:31:46 2007

This archive was generated by hypermail 2.1.8 : 2007-09-09 23:31:49 CEST