Re: [cc65] Newer win32 installer

Date view Thread view Subject view

From: Greg King (gngking_at_erols.com)
Date: 2003-08-12 03:49:42


From: Rafal; On Date: Friday, August 08, 2003, 05:15 PM

> Here is available a newer version of the win32 one-file installer:
> www.rafalszyja.republika.pl/tmp/cc65.exe  (2MB)

I installed the package on Windows XP (in all three types of accounts
[guest, limitted, and administrative]):

* The installer failed to convert the batch files to DOS format.
  It says,
  "Execute: utod.exe run.bat
   Execute: utod.exe nt.bat".
  But, those files still have the Unix format.
* You should convert "announce.txt," also.

* You need only one batch file, "CC65.BAT":
-----------------------------------------------------------------
path %path%;<cc65-path>\bin

set CC65_INC=<cc65-path>\include
set CC65_LIB=<cc65-path>\lib

set RM=del /f
set CC=cl65
set AS=ca65

%COMSPEC%
-----------------------------------------------------------------
That one file will work for all flavors of Windows!

* Two of the makefiles (in "samples" and "samples\geos\ca65-vlir")
  need changes:

1. MS-DOS does not have the "basename" and "rm" commands.
So, the cleaning rules must use "$(RM)".
And, these suffix-rules must be rewritten as:

.c.o:
        @echo $<
        @$(CC) -Oirs -T --codesize 500 -g -t $(SYS) -I../include $<
        @$(AS) $*.s

.s.o:
        @echo $<
        @$(AS) -g -I ../asminc $<

2. The Unix and DOS versions of the "for" command are written differently
in scripts.  That problem can be avoided by rewriting the disk-image rule
as:

samples.d64: $(EXELIST) ../tgi/$(SYS)-*.tgi
        $(C1541) -format samples,cc d64 $@
        $(C1541) $@ $(+:%=-write %)

----------------------------------------------------------------------
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 : 2003-08-12 09:49:40 CEST