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

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2007-09-10 18:34:48
On Sun, Sep 09, 2007 at 02:31:32PM -0700, Scott Alfter wrote:
> > 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.
                                                             
This is what happens on my machine with a fresh 2.11.0 install:

-----------------------------------------------------------------------------
uz@trixie:~/samples$ cl65 -C apple2-tgi.cfg tgidemo.c
ld65: Warning: apple2-tgi.cfg(7): Segment `EXEHDR' does not exist
uz@trixie:~/samples$ l tgidemo*
-rw-rw-r-- 1 uz uz  7699 Sep 10 18:23 tgidemo
-rw-r--r-- 1 uz uz  5701 Sep 10 18:16 tgidemo.c
-rw-rw-r-- 1 uz uz 13583 Sep 10 18:23 tgidemo.o
uz@trixie:~/samples$ ld65 --version
ld65 V2.11.0 - (C) Copyright 1998-2005 Ullrich von Bassewitz
ld65: Error: No object files to link
uz@trixie:~/samples$ cc65 --version
cc65 V2.11.0
cc65: No input files
uz@trixie:~/samples$ ca65 --version
ca65 V2.11.0 - (C) Copyright 1998-2005 Ullrich von Bassewitz
ca65: No input files
-----------------------------------------------------------------------------

As you can see, compilation works without any problems, so please recheck the
files on your machine. I've also looked at the sources, and there is no import
of __RAM_SIZE__ in line 13 of crt0.s (as your error message says). In fact,
the apple startup file has never used __RAM_SIZE__ at all.

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 Sep 10 18:35:06 2007

This archive was generated by hypermail 2.1.8 : 2007-09-10 18:35:10 CEST