diff --git a/doc/Makefile b/doc/Makefile
index f09bd02d0..5534baadd 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -38,7 +38,7 @@ SGML = apple2.sgml \
dio.sgml \
funcref.sgml \
geos.sgml \
- grc.sgml \
+ grc65.sgml \
index.sgml \
intro.sgml \
ld65.sgml \
diff --git a/doc/geos.sgml b/doc/geos.sgml
index d58a8764f..1f1ed4ddc 100644
--- a/doc/geos.sgml
+++ b/doc/geos.sgml
@@ -103,10 +103,11 @@ needs cc65.
I want to thank Uz for his cc65 package, Alexander Boyce for his excellent GEOS Programmer's
Reference Guide and BSW for GEOS.
-GEOSLib is covered by the same license as cc65. You can find the whole text among documentation.
-I would really appreciate if you would like to send me your comments, suggestions, questions,
-changes, bug reports etc. I will also appreciate if you will just give me a sign that you are
-using GEOSLib - not especially something big and important, mail me even if you are just playing
+GEOSLib is covered by the same license as cc65. You can find the whole text
+among documentation. I would really appreciate if you would like to send me
+your comments, suggestions, questions, changes, bug reports etc. I will also
+appreciate if you will just give me a sign that you are using GEOSLib - not
+especially something big and important, mail me even if you are just playing
with it.
You can send postcards with hellos to:
@@ -123,11 +124,12 @@ This chapter describes some rules you ought to obey, and how to use GEOSLib.
Usage
-Apart from this file, which merely describes only standard GEOS library functions, you should read
-
All in all, you just need to place
@@ -135,10 +137,11 @@ All in all, you just need to place
on top of your source.
-As a general rule read the sources of example programs and read the headers. These are the most
-reliable sources of knowledge ;). You will also find there many C macros representing various
-arguments passed to functions. Please use them. You will find your sources easier to understand,
-and it will be easier to find bugs.
+As a general rule read the sources of example programs and read the headers.
+These are the most reliable sources of knowledge ;). You will also find there
+many C macros representing various arguments passed to functions. Please use
+them. You will find your sources easier to understand, and it will be easier
+to find bugs.
All types used in GEOSLib are
diff --git a/doc/grc.sgml b/doc/grc65.sgml
similarity index 91%
rename from doc/grc.sgml
rename to doc/grc65.sgml
index ea992eed8..05afdbf8b 100644
--- a/doc/grc.sgml
+++ b/doc/grc65.sgml
@@ -3,7 +3,7 @@
-grc -- GEOS Resource Compiler
+grc65 -- GEOS Resource Compiler
VII 2000; VI,VII 2002; 2005-8-3
@@ -18,32 +18,32 @@ and VLIR files from, cc65-compiled programs.
Overview
-). The VLIR structure currently
-is supported for only projects that are written entirely in assembly code.
+). The VLIR structure currently is supported for
+only projects that are written entirely in assembly code.
-Usage
-grc accepts the following options:
+grc65 accepts the following options:
-f force the writing of the output files
-o name name the .c output file
-s name name the .s output file
@@ -51,10 +51,10 @@ VLIR-structured
When used as a VLIR linker, the correct syntax is:
- grc -vlir output.cvt header.bin vlir0.bin vlir1.bin ...
+ grc65 -vlir output.cvt header.bin vlir0.bin vlir1.bin ...
Default output names are made from input names with extensions replaced by
-Resource file format
A resource file has the name extension "dosname" "classname" "version" {
structure SEQ
}
The header definition describes the GEOS header sector which is unique to
-each file. Currently, there's no way to change the default for details.
@@ -202,7 +202,7 @@ file, and processed into an assembly First step -- compiling the resources
-$ grc resource.grc
+$ grc65 resource.grc
will produce two output files: &dquot;
(Source files are only
-$ grc cvthead.grc
+$ grc65 cvthead.grc
Now, there are two new files: &dquot;
-$ grc -vlir output.cvt vlir-head.bin vlir-0.bin vlir-1.bin vlir-2.bin
+$ grc65 -vlir output.cvt vlir-head.bin vlir-0.bin vlir-1.bin vlir-2.bin
That is the end. The file &dquot;Bugs and feedback
-
This is the first release of This is the first release of Legal stuff
-
Describes the da65 6502/65C02 disassembler.
-
- Describes the GEOS resource compiler (grc).
+
+ Describes the GEOS resource compiler (grc65).
Describes the ld65 linker.
diff --git a/packages/debian/cc65.manpages b/packages/debian/cc65.manpages
index 43e9638da..05a9a99aa 100644
--- a/packages/debian/cc65.manpages
+++ b/packages/debian/cc65.manpages
@@ -4,6 +4,6 @@ debian/ca65html.1
debian/cc65.1
debian/cl65.1
debian/da65.1
-debian/grc.1
+debian/grc65.1
debian/ld65.1
debian/od65.1
diff --git a/packages/debian/grc.1 b/packages/debian/grc65.1
similarity index 100%
rename from packages/debian/grc.1
rename to packages/debian/grc65.1
diff --git a/packages/debian/rules b/packages/debian/rules
index 826c0c58f..36b284aab 100644
--- a/packages/debian/rules
+++ b/packages/debian/rules
@@ -62,7 +62,7 @@ binary-arch: checkroot build
dh_testroot -a
dh_installdirs -a
dh_installmenu -a
- for bin in ar65 ca65 cc65 cl65 da65 grc ld65 od65 ca65html; do \
+ for bin in ar65 ca65 cc65 cl65 da65 grc65 ld65 od65 ca65html; do \
install -m0755 `pwd`/src/$$bin/$$bin debian/cc65/usr/bin; \
done
for info in ar65 ca65 cc65 cl65 ld65 debugging dio geos coding intro library; do \
diff --git a/packages/rpm/redhat/cc65.spec b/packages/rpm/redhat/cc65.spec
index 5e2d300dd..944f7a6da 100644
--- a/packages/rpm/redhat/cc65.spec
+++ b/packages/rpm/redhat/cc65.spec
@@ -324,7 +324,7 @@ This package contains the header files and libraries needed to write
GEOS programs for the C64/C128 using the cc65 crosscompiler.
%files geos
-%attr(755,root,root) /usr/bin/grc
+%attr(755,root,root) /usr/bin/grc65
%attr(644,root,root) %{_libdir}/cc65/lib/geos.lib
%attr(755,root,root) %dir %{_libdir}/cc65/include/geos
%attr(644,root,root) %{_libdir}/cc65/include/geos/*.h
@@ -492,7 +492,7 @@ install -s -m 755 src/cc65/cc65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/cl65/cl65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/co65/co65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/da65/da65 $RPM_BUILD_ROOT%{_bindir}
-install -s -m 755 src/grc/grc $RPM_BUILD_ROOT%{_bindir}
+install -s -m 755 src/grc65/grc65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/ld65/ld65 $RPM_BUILD_ROOT%{_bindir}
install -s -m 755 src/od65/od65 $RPM_BUILD_ROOT%{_bindir}
diff --git a/src/grc/grc.c b/src/grc65/grc65.c
similarity index 99%
rename from src/grc/grc.c
rename to src/grc65/grc65.c
index efb8dc686..ac5564632 100644
--- a/src/grc/grc.c
+++ b/src/grc65/grc65.c
@@ -25,7 +25,7 @@
#include
#include
-#include "grc.h"
+#include "grc65.h"
/* common stuff */
#include "fname.h"
@@ -163,7 +163,7 @@ void printVHeader (void) {
"\n#\tDO NOT EDIT! Any changes will be lost!\n#"
"\n#\tEdit proper resource file instead\n#"
"\n#\tLook at end of this file to find commandline that must be used\n"
- "#\tto invoke ld65 and grc (as VLIR linker)\n#"
+ "#\tto invoke ld65 and grc65 (as VLIR linker)\n#"
"\n#\n\n");
}
@@ -597,7 +597,7 @@ struct vlirentry vlirtable[127];
/* now put usage info */
fprintf(outputVFile,"\n# ld65 -o output.cvt -C %s file1.o file2.o ...",outputVName);
- fprintf(outputVFile,"\n# grc -vlir outputname %s",headname);
+ fprintf(outputVFile,"\n# grc65 -vlir outputname %s",headname);
for (i=1;i<=numchains;i++) {
fprintf(outputVFile," %s",vlirtable[i].chainname);
}
diff --git a/src/grc/grc.h b/src/grc65/grc65.h
similarity index 100%
rename from src/grc/grc.h
rename to src/grc65/grc65.h
diff --git a/src/grc/make/gcc.mak b/src/grc65/make/gcc.mak
similarity index 95%
rename from src/grc/make/gcc.mak
rename to src/grc65/make/gcc.mak
index 285ae8f33..2dd9f64ba 100644
--- a/src/grc/make/gcc.mak
+++ b/src/grc65/make/gcc.mak
@@ -5,7 +5,7 @@
# ------------------------------------------------------------------------------
# The executable to build
-EXE = grc
+EXE = grc65
COMMON = ../common
@@ -20,7 +20,7 @@ EBIND = emxbind
# -----------------------------------------------------------------------------
# List of all object files
-OBJS = grc.o
+OBJS = grc65.o
LIBS = $(COMMON)/common.a
@@ -54,5 +54,5 @@ zap: clean
depend dep: $(OBJS:.o=.c)
@echo "Creating dependency information"
$(CC) $(CFLAGS) -MM $^ > .depend
-
+
diff --git a/src/grc/make/watcom.mak b/src/grc65/make/watcom.mak
similarity index 98%
rename from src/grc/make/watcom.mak
rename to src/grc65/make/watcom.mak
index 8895acbc8..84a9f2faf 100644
--- a/src/grc/make/watcom.mak
+++ b/src/grc65/make/watcom.mak
@@ -25,7 +25,7 @@ LNKCFG = ld.tmp
CFLAGS = -d1 -obeilr -zp4 -5 -zq -w2 -i=..\\common
# Target files
-EXE = grc.exe
+EXE = grc65.exe
# Create NT programs by default
ifndef TARGET
@@ -60,7 +60,7 @@ endif
# ------------------------------------------------------------------------------
# All OBJ files
-OBJS = grc.obj
+OBJS = grc65.obj
LIBS = ../common/common.lib
diff --git a/src/make/gcc.mak b/src/make/gcc.mak
index ccd1f3fa7..b5955597f 100644
--- a/src/make/gcc.mak
+++ b/src/make/gcc.mak
@@ -9,7 +9,7 @@ PROGS = \
cl65 \
co65 \
da65 \
- grc \
+ grc65 \
ld65 \
od65