Initial commit from cwc-1.0.1
[cwc.git] / README
blob6cf0de2c50c024df75cc12de6656fe8f12989d50
1 cwc - a cross compiler. Copyright 1999 by Lars Christensen.
3 LICENSE INFORMATION
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 This program is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18 02111-1307, USA.
20 DOCUMENTATION
22 See the file cwc.6 formatted for use with the unix program
23 "man". Either install cwc.6 in /usr/local/man/man6/ and view it with
24 "man cwc" or view it directly with "man ./cwc.6" or "man -f ./cwc.6"
25 (depending on your version of "man").
27 HOW TO COMPILE
29 cwc should compile on most unices, but has only been tested on Linux
30 and Solaris. It requires GNU Make, a C++ compiler (g++) and the
31 Standard Template Library (STL) in order to compile.  The most exotic
32 functions cwc uses it times() which is also a part of the POSIX
33 standard so it should be no problem if you have a decent unix.
35 Run "make" to compile. If anything fails, you fix it. I haven't
36 included any scripts for installing cwc. If you really want to install
37 it for public use on your unix machine, put the binary (src/cwc) in
38 /usr/local/bin/ and the MANual file (cwc.6) in /usr/local/man/man6/.
40 cwc has been succesfully tested on Linux, Solaris and HPUX.