readme.txt 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. Free Pascal Compiler
  2. Version 1.9.2 aka 2.0.0-Beta2
  3. ****************************************************************************
  4. * Introduction
  5. ****************************************************************************
  6. *** WARNING *** WARNING *** WARNING ***
  7. This a beta release and it still contains some known bugs. However, it would
  8. be very useful if you could test your projects with it and tell us when
  9. you find bugs. You can submit bug reports on the website.
  10. *** WARNING *** WARNING *** WARNING ***
  11. This package contains a freeware 32-bit pascal compiler for 386+. The language
  12. and the runtime library are almost compatible with TP 7.0 and recent Delphi
  13. releases.
  14. Free Pascal 1.9.2 is currently available for the following platforms:
  15. - Linux-i386, both aout and elf
  16. - Linux-powerpc
  17. - Dos (i386), using the Go32v2 dos extender
  18. - Win32 (Win32s, Win95/98/Me/XP/2000 and WinNT)
  19. - FreeBSD i386
  20. - Mac OS X/Darwin for PowerPC
  21. More platforms will be supported in future 1.9.x beta releases.
  22. Because release building is quite time intensive, we decide to start the
  23. 2.0 beta series only with the most important targets. If you want to change
  24. this and create and maintain 2.0 beta releases for other platforms and
  25. targets, feel free to contact us, E-Mail addresses are listed below.
  26. ****************************************************************************
  27. * Features
  28. ****************************************************************************
  29. - high speed compiler
  30. - fully 32-bit code
  31. - language features:
  32. - almost fully compatible with Borland Pascal and Borland Delphi
  33. - ansi strings
  34. - exception support
  35. - RTTI support
  36. - procedure overloading
  37. - operator overloading
  38. - COM, CORBA and raw interfaces support
  39. - dyn. array support
  40. - variant support
  41. - code optimizer:
  42. - peephole optimizer (80x86-only)
  43. - loading of variables into registers (currently non-functional)
  44. - assembler level dataflow analyzer (80x86-only)
  45. - stack frame eliminations
  46. - sophisticated register allocator
  47. - integrated BASM (built-in assembler) parser
  48. - supports ATT syntax used by GNU C
  49. - supports Intel syntax used by Turbo Pascal
  50. - can compile code into assembler source code for these assemblers:
  51. - GNU Assembler (GAS)
  52. - Netwide assembler (Nasm)
  53. - Microsoft Assembler/Turbo Assembler (Masm/Tasm)
  54. - can call external C code
  55. - smartlinking (not yet supported under Mac OS X)
  56. - support for the GNU debugger
  57. - IDE (currently for GO32v2, Linux, FreeBSD and Win32 only, in beta testing
  58. phase)
  59. - can create binaries running natively under both DOS and OS/2 (EMX version)
  60. ****************************************************************************
  61. * Minimum requirements
  62. ****************************************************************************
  63. 386 or PowerPC processor
  64. Win32:
  65. - Win95/98/Me/2000/XP or WinNT
  66. - 8 MB RAM (16+ MB recommended)
  67. Linux:
  68. - system running a 2.0.x kernel
  69. FreeBSD:
  70. - FreeBSD 4.x system or 5.x system that has COMPAT_4 system (which is
  71. default)
  72. - Mac OS X:
  73. - Mac OS X 10.1 and higher (10.0 may also work, but is untested)
  74. ****************************************************************************
  75. * Quick start
  76. ****************************************************************************
  77. Win32:
  78. Download w32190.zip and unzip it
  79. into a temporary directory.
  80. Start the install program INSTALL.EXE and follow the instructions.
  81. Don't forget to set the path as mentioned by the install program.
  82. To test the compiler, change to the demo directory of the compiler
  83. and type
  84. fpc hello
  85. hello
  86. ****************************************************************************
  87. * Documentation
  88. ****************************************************************************
  89. The documentation is available as HTML pages, PDF, PS, and text although the
  90. recommended format is pdf. These are all available on
  91. ftp://ftp.freepascal.org/fpc/docs
  92. NB that there is at present no FPC specific documentation for the Win32
  93. system functions. There is a note in the ftp /doc explaining where
  94. the MS help file for this can be obtained.
  95. ****************************************************************************
  96. * Suggestions, Help, Bug reporting, snapshots, ...
  97. ****************************************************************************
  98. Suggestions, Help ...
  99. ---------------------
  100. e-mail: [email protected] (bugs, developer related questions)
  101. e-mail: [email protected] (general pascal related questions)
  102. Both these adresses are for mailing lists. If you're not subscribed,
  103. be sure to mention this fact when sending questions to these lists,
  104. so that people sending answers know about it and send you a copy.
  105. Information about available lists and subscription can be found
  106. on http://lists.freepascal.org/mailman/listinfo
  107. www: http://www.freepascal.org
  108. ftp: ftp://ftp.freepascal.org/fpc
  109. (several mirrors exist, see website for links)
  110. Additional information about mailing lists, news, future plans etc.
  111. can be found on the web site.
  112. SNAPSHOTS & SOURCES
  113. -------------------
  114. One of the features of FPC is the snapshots. These are made daily or weekly
  115. from the developers' latest versions of the source. Snapshots are available
  116. for the GO32v2, Win32, OS/2 and Linux versions of the compiler/rtl. Snapshots
  117. are also available for the go32v2 & Win32 IDEs, and for FV, FCL, GTK and
  118. utils for GO32v2 and Win32. The latest snapshots are in: ftp... /fpc/snapshot/
  119. in appropriately named .zip/tar files.
  120. You will also normally find in the snapshot archive file a readme, with
  121. a note about the latest included changes. It is quite common, though it doesn't
  122. always happen, that when a bug is reported it is fixed and a fixed version
  123. can be obtained the NEXT day in the appropriate snapshot.... yes really!
  124. Also on the ftp site you'll find a /dist directory, with the latest
  125. distributed releases, a /docs directory, and a /source directory, in
  126. which every night at about 0100 GMT the latest source generated by the
  127. developers during the day & evening before is exported from CVS
  128. into ZIP files eg compiler.zip, rtl.zip, base.zip etc.
  129. Making your own snapshots
  130. -------------------------
  131. By downloading the /source files (makefiles are included)
  132. it is possible to to make your own version of the fpc compiler/rtl
  133. and to modify it. You are of course free to do this
  134. so long as you observe the licence conditions. In order to make the
  135. compiler/rtl & ides in a resonable time (eg <30 minutes) you'll need at least
  136. 32M of physical memory (64M is better) memory and at least a 200 Mhz processor
  137. and at least 20 Mbytes of free disk space. You'll also need
  138. some knowledge of making files & programming... it is not
  139. difficult but it isn't easy either!
  140. REPORTING BUGS
  141. ----------------
  142. If you find a bug in the released version, you may want to try a snapshot
  143. (see SNAPSHOTS above) to see if it has been fixed before reporting it to
  144. the fpc-devel mailing list.
  145. If you find a fault or 'feature' in a release, please report it
  146. to the fpc-devel mailing list. PLEASE SEND ALSO A SMALL EXTRACT OF THE SOURCE
  147. CODE which caused the problem, and state the version eg Win32, GO32v2,
  148. and the date of the compiler etc on which you noticed the problem & any other
  149. useful info so the developers can reproduce the problem, otherwise they may
  150. not be willing/able to fix it.
  151. ****************************************************************************
  152. * License
  153. ****************************************************************************
  154. The compiler and most utilities and executables distributed in this package
  155. fall under the GPL, for more information read the file COPYING.
  156. Some specific utilities and programs come under the license described in
  157. COPYING.DJ, COPYING.EMX and COPYING.RSX.
  158. The documentation, unless otherwise noted, is distributed as free
  159. text, and is distributed under the GNU Library General Public
  160. License.
  161. The runtime library, package libraries, free component library, and
  162. other libraries which are used to create executables by the compiler
  163. come under a modified GNU Library General Public license. Additional
  164. information about the library license is found in COPYING.FPC.
  165. NOTE: OS/2 version of the installer uses the library UNZIP32.DLL from
  166. Info-ZIP. Info-ZIP's software (Zip, UnZip and related utilities)
  167. is free and can be obtained as source code or executables from
  168. Internet/WWW sites, including http://www.info-zip.org.