[cc65] Sv: cc65.

Date view Thread view Subject view

From: Martin Ancher Holm (mah_at_bankdata.dk)
Date: 1999-11-30 17:32:25


>Hi. 


Hi, hi... Maybe you could have posted to the mailinglist <cc65_at_musoftware.de>, because maybe someone could answer better than I.

>I was woundering which compiler you are using with the cc65. I just
>tryed it last night, and i wounder how i should compile :)
>
>first the cc65 which makes it a .s file and then the ld65 to make it a
>.O file.. what else ? =)


I assume this to be the case:

cc65 : from .c to .s
as65 : from .s to .o
ld65 : from .o to binary (remember the libraries)

An easier way is to:

cl65 : from .c to binary (default is C= 64 libraries and C= 64 "starter")

Maybe you have forgotton c64.o as the first object-file in the parameter to ld65.

c64.o includes code for the little BASIC program etc. that starts the 6510-code. e.g.: 10 SYS2061 (raw 6510-code can't can be RUN'ned, it must be SYS'ed).

Hope this helps.

Med venlig hilsen
Martin Ancher Holm <mah_at_bankdata.dk>, Hjemme <mah_at_wwww.dk>
http://wwww.dk

BTW I assume this is in the README-file. I wonder why it's called README ;-)


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:45 CET