From: cuz Date: Thu, 23 Sep 2004 17:40:16 +0000 (+0000) Subject: Update, add note about master makefile X-Git-Tag: V2.12.0~640 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=beb8b1b5cb3886d5e1442b0cdb387c497f65163d;p=cc65 Update, add note about master makefile git-svn-id: svn://svn.cc65.org/cc65/trunk@3195 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/compile.txt b/doc/compile.txt index 236e6ac6b..5061d1ed2 100644 --- a/doc/compile.txt +++ b/doc/compile.txt @@ -5,8 +5,28 @@ Instructions for compiling cc65 and the ca65 binutils: Linux (and probably most other Unices) -------------------------------------- + +Preconditions: -You need the GNU C compiler. Enter the src/ directory and do a +You need the GNU C Compiler, Perl and sgml-tools installed. + +The simple way: + +From the main directory, use + + make -f make/gcc.mak + +to build all binaries, libraries and the docs. Use + + make -f make/gcc.mak install + +to install the files. Check the makefile before doing so and adjust the PREFIX +variable as you like it. + + +Step by step: + +Enter the src/ directory and do a make -f make/gcc.mak @@ -20,11 +40,16 @@ After that, you need to compile the libraries. Do cd libsrc; make +HTML docs can be generated with + + cd doc; make html + That's it! Installation directories for the RPM packages are - /usr/bin for the binaries - /usr/lib/cc65/include for include files - /usr/lib/cc65/lib for libraries and startup files + /usr/bin for the binaries + /usr/lib/cc65/include for include files + /usr/lib/cc65/lib for libraries and startup files + /usr/share/doc/cc65- for documentation When using these directories, you don't need to set the CC65_INC and CC65_LIB environment variables. You may also use the /usr/local tree