Browse Source

* updated with new release instructions

peter 25 years ago
parent
commit
7320410b6b
1 changed files with 80 additions and 23 deletions
  1. 80 23
      base/INSTALL

+ 80 - 23
base/INSTALL

@@ -1,31 +1,88 @@
+Extra Required tools
+********************
 
 
-First you need to install all the sources like:
+ppufiles.exe    from utils/
+upx.exe         latest version, currently 1.01
 
 
-<basedir>/
-  base
-  compiler
-  rtl
-  ide/text
-  ide/fake
-  api
-  fv
-  gdbint
-  gdbint/libgdb
 
 
-- Copy the files (Makefile,makefile.fpc) from the base/ directory to the
-<basedir>. 
+Setting up the directory layout
+*******************************
 
 
-- get the libgdb_<system>.zip from tflily ftp and unzip it in the
-gdbint/libgdb directory
+For all releases you need to checkout the following modules:
 
 
-- Type: SET FPCDIR=<basedir>
+base
+compiler
+rtl
+fcl
+api
+fv
+ide
+install
+docs
+utils
+packages
 
 
-- Then you can type 'make info' and see it finds the correct files.
+then copy the base/Makefile* to the topdir
 
 
-- When that works fine, then you can type in the <basedir>:
 
 
-  'make ide_all'	IDE without compiler/debugger
-  'make ide_gdb'	IDE with debugger
-  'make ide_full'	IDE with compiler
-  'make ide_fullgdb'	IDE with compiler/debugger
-  
+Creating *src.zip files
+***********************
+
+Now the directory is still clean from all build files you can easily create
+the *src.zip files by running the following commands:
+
+make sourcezip
+make demosrc
+make docsrc
+make installersrc
+
+Some of the output files need to be renamed to be in the 8.3 format:
+
+mv installersrc.zip instsrc.zip
+mv packagessrc.zip pkgssrc.zip
+mv compilersrc.zip compsrc.zip
+
+
+Install libgdb.a
+****************
+
+If you want the debugger included in the IDE for some target you need to
+install the libgdb.a file, the libgdb_*.zip files can be found on
+ftp://ftp.freepascal.org/pub/fpc/contrib
+
+Unzip the libgdb*.zip file in the directory packages/gdbint/libgdb/<target>.
+
+
+Building for go32v2,win32
+*************************
+
+When everything is in the correct place you can build the whole release for
+go32v2 and win32 with the following commands:
+
+make go32v2zip
+make win32zip
+
+
+Finally you can create the installer with
+
+make installer OS_TARGET=go32v2
+(copy the install.exe to the dir were you place all the go32v2 packages
+before uploading)
+make installer OS_TARGET=win32
+(copy the install.exe ... )
+
+Futher you need to put the files on the ftp the same way as 0.99.14 is
+stored. With a script on ftp.freepascal.org you can then make the release
+.zips
+
+
+Building for linux
+******************
+
+For linux the creation of the release is the easiest way, just run in the
+topdir:
+
+for debs: make deb
+for rpms: make rpm
+for .tar.gz: copy the makepack script from install/ to the topdir. Then run
+             the script