INSTALL
550bb8c3
 $Id$
 
 Installation Notes
 
8fac7c9d
 Supported arhitectures: Linux/i386, Linux/armv4l, FreeBSD/i386, Solaris/sparc64,
 Win*/i386 (CYGWIN)
 (for other arhitectures the Makefile must be edited)
550bb8c3
 
628e3a5a
 There are various configuration options defined in the Makefile.
 
550bb8c3
 Requirements:
 
 
11ece359
 - gcc >= 2.9x; 3.0.x recommended (it will work with older version but it might
  require some options tweaking for best performance)
550bb8c3
 - bison or yacc (Berkley yacc)
 - flex
 - gmake (on Linux this is the standard "make")
 
b2dec9c6
 OS Notes:
550bb8c3
 
 - FreeBSD: make sure gmake, bison & flex are installed
 - Solaris: as above; you can use Solaris's yacc instead of bison
96001c50
 - Windows: it works in windows but you must install a recent cygwin version
 	(http://www.cygwin.com/) and also install a newer regex library version
 	(>=0.12). 
 	
550bb8c3
 
247c2b65
 
 
 Howto:
 (NOTE: if make doesn't work try gmake  instead)
 
 - compile with default options:
 
 make   #builds only ser core, equivalent to make ser
 make modules
 
 or make all #builds everything
 
 - compile with profiling
 
 make PROFILE=-pg all
 
 -compile debug mode version
 
 make mode=debug all
 
 -compile debug version with profiling
 
 make mode=debug PROFILE=-pg all
 
 -compile only the print module
 
 make modules=modules/print modules
 
 -compile all the modules except textops
 
 make exclude_modules="CVS textops" modules
 
b2dec9c6
 -compile with the "tm" module statically linked and with profiling
 
 make static_modules=tm PROFILE=-pg all
 
 -compile with gcc-3.0 instead of gcc
 
 make CC=gcc-3.0 all
 
247c2b65
 
 
 Make targets:
 
628e3a5a
 Clean:
247c2b65
 
628e3a5a
 make clean   (clean the modules too)
 make proper  (clean also the dependencies)
247c2b65
 make distclean (the same as proper)
 make mantainer-clean (clean everything, including auto generated files,
  tags, *.dbg a.s.o)
628e3a5a
 
550bb8c3
 Compile:
 
628e3a5a
 make proper
550bb8c3
 make
 (or gmake on non-Linux systems)
390bec9b
 make modules 
 or make modules exclude_modules="CVS print" etc.
550bb8c3
 
247c2b65
 Make tags:
 
 make TAGS
 
 Create a tar.gz with the sources:
 
 make tar
 
 
 
550bb8c3
 Install(not done yet):
 
 make prefix=/usr/local  install