INSTALL 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. Extra Required tools
  2. ********************
  3. ppufiles.exe from utils/
  4. upx.exe latest version, currently 1.02 (available in makego32.zip)
  5. zip.exe the Info-Zip release
  6. Getting the sources
  7. *******************************
  8. You need to checkout the fpc module from CVS, you can use a tag to retrieve
  9. a specific release or fixes branch:
  10. RELEASE_1_0_0 1.00 Release
  11. RELEASE_1_0_2 1.0.2 Release
  12. RELEASE_1_0_4 1.0.4 Release
  13. FIXES_1_0_0 1.0.x Fixes Branch
  14. To checkout the main (development) branch use:
  15. cvs -z3 co fpc
  16. To checkout a specific version use, <tag> is one of the tags above:
  17. cvs -z3 co -d <tag> fpc
  18. Creating *src.zip files
  19. ***********************
  20. Now the directory is still clean from all build files you can easily create
  21. the *src.zip files by running the following commands:
  22. make sourcezip
  23. make demosrc
  24. make docsrc
  25. make installersrc
  26. Some of the output files need to be renamed to be in the 8.3 format:
  27. mv installersrc.zip instsrc.zip
  28. mv packagessrc.zip pkgssrc.zip
  29. mv compilersrc.zip compsrc.zip
  30. Install libgdb.a
  31. ****************
  32. If you want the debugger included in the IDE for some target you need to
  33. install the libgdb.a file, the libgdb_*.zip files can be found on
  34. ftp://ftp.freepascal.org/pub/fpc/contrib
  35. Unzip the libgdb*.zip file in the directory packages/gdbint/libgdb/<target>.
  36. Building for go32v2,win32
  37. *************************
  38. When everything is in the correct place you can build the whole release for
  39. go32v2 and win32 with the following commands:
  40. make go32v2zip
  41. make win32zip
  42. Finally you can create the installer with
  43. make installer OS_TARGET=go32v2
  44. (copy the install.exe to the dir were you place all the go32v2 packages
  45. before uploading)
  46. make installer OS_TARGET=win32
  47. (copy the install.exe ... )
  48. Futher you need to put the files on the ftp the same way as 0.99.14 is
  49. stored. With a script on ftp.freepascal.org you can then make the release
  50. .zips
  51. Building for linux
  52. ******************
  53. For linux the creation of the release is the easiest way, just run in the
  54. topdir:
  55. for debs: make deb
  56. for rpms: make rpm
  57. for .tar.gz: copy the makepack script from install/ to the topdir. Then run
  58. the script