1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00

Update, add note about master makefile

git-svn-id: svn://svn.cc65.org/cc65/trunk@3195 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-09-23 17:40:16 +00:00
parent a853ecf434
commit beb8b1b5cb

View File

@ -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-<version> 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