[cc65] Problem with generating o65 files

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2005-01-19 22:17:17
Hello,

I have a problem generating O65 files. It might be I completely
misunderstand something.

My cc65 version is v2.10.1, running on Windows (cygwin).

On http://www.trikaliotis.net/download/o65test.tar.gz, I put a small
tarball (exactly 837 byte) of what I tried so far. I generated three
very simply a65 files, which I link with own config files for the
linker.

At first, I link them using linker-config-bin, which is very simple.
This works.

Then, I link them using linker-config-o65. The difference to the other
config file are the two entries


FILES {
	%O: format = o65;
}

FORMATS {
	o65: os = lunix, version = 0, type = small,
		import = LUNIXKERNEL,
		export = _main;
}

With these, I always get the error message:

  ld65.exe: Error: linker-config-o65(2): No such file: `test1571.o65'

But test1541.o65 (or test1571.o65) is the file I want to generate, so I
am not surprised that these files do not exist. ;-)

What am I doing wrong? I literally copied the lines above from the ld65
documentation, sections 4.7 and 4.8.

BTW: Replacing

-	%O: format = o65;
+	%O: format = bin;

results in the same error. If I skip the -o for ld65, I get the same
error, but stating a.out does not exist.

What am I doing wrong?

BTW: Can ld65 handle such (André Fachat's) o65 files as inputs? I would
     have tested myself, but as you see from above, I was not able yet
     to generate such files. ;-)


Regards,
   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 Wed Jan 19 22:17:46 2005

This archive was generated by hypermail 2.1.8 : 2005-01-19 22:17:58 CET