Re: [cc65] Problem with generating o65 files

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2005-01-20 20:21:09
Hello Uz,

thanks for your answer.

On Wed, Jan 19, 2005 at 10:43:45PM +0100, Ullrich von Bassewitz wrote:
 
> Order is important here. FILES and FORMATS have to go to the end of
> the linker config.

Ah, ok. After fixing this (and some other minor things), it works now.

Is this documented somewhere? Is the order of the sections important in
every case, that is, do I have to specify every section in the order
chapter 4 gives them? I did not find this documented anywhere.


> BTW: Why aren't you using -t lunix on the command line, or just use
> the Lunix linker configuration as a starting point? This could have
> saved you quite some trouble:-)

Well, I wanted to understand what I am doing. :-) That's a bad habit of
me. ;-)

 
> ld65 cannot use o65 files as input, but co65 is able to translate o65
> files back into assembler files,

$ co65 1541.o65
co65.exe: Internal error: Invalid size field value in o65 header

(again, my test file can be found at
http://www.trikaliotis.ner/download/o65test2.tar.gz)

This happens for all three files.

> I haven't tested this with o65 files generated with xa (André Fachats
> Assembler),

No problem, I do not intend to mix assemblers (yet).

 
> but a Makefile should do wonders:-)

Absolutely. :-)

Thank you,
   Spiro.

-- 
Spiro R. Trikaliotis
http://www.trikaliotis.net/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jan 20 20:21:23 2005

This archive was generated by hypermail 2.1.8 : 2005-01-20 20:21:34 CET