diff --git a/doc/intro.sgml b/doc/intro.sgml index 582567287..09b304d16 100644 --- a/doc/intro.sgml +++ b/doc/intro.sgml @@ -25,13 +25,19 @@ one assembly modules. This file does ). -You are assumed to have downloaded and extracted the executables and the -target-specific files. For example: for Windows users targeting C64, you need - -to decompress it. +I do assume that you have downloaded and installed the compiler and +target-specific files. Windows users should use the friendly .exe installer +(named cc65-2.13.0-1.exe for version 2.13.0 of the package - adjust the +version number if necessary). It does not only install the target files, but +will also set up necessary environment variables for you. + +If you're going for the .ZIP archives, please note that there is one file for +the host platform (Windows, DOS or OS/2), one file for each target platform +(C64 or whatever) and a separate file containing the docs (which include the +file you're currently reading). So for most uses, you will need at least 3 +files and unpack all three into one directory. In case of the .ZIP archives, +you will also need to set the environment variables . Before we start

You will find a copy of the sample modules, used in the next section, in the -"cc65/samples/tutorial" directory. Please make sure that the compiler -and linker can find the include and library files, by setting the environment -variables cc65/samples/tutorial" directory. If you encounter problems with +missing include files and/or libraries, please check the environment variables +The sample modules

@@ -102,7 +110,8 @@ is the C64. - cc65 -O -I ../../include -t c64 hello.c + cc65 -O -t c64 hello.c The - ld65 -t c64 -o hello c64.o hello.o text.o c64.lib + ld65 -t c64 -o hello hello.o text.o c64.lib The argument after - cl65 -O -I ../../include -L ../../lib hello.c text.s + cl65 -O hello.c text.s -(The . Apple diff --git a/doc/ld65.sgml b/doc/ld65.sgml index 80cfd4421..3fbc7c2c2 100644 --- a/doc/ld65.sgml +++ b/doc/ld65.sgml @@ -355,9 +355,12 @@ The config file search path contains in this order: The current directory. -A compiled in directory which is often /usr/lib/cc65/lib on +A compiled in directory which is often /usr/lib/cc65/cfg on Linux systems. The value of the environment variable The value of the environment variable Any directory added with the option on the command line.