readme.txt 8.3 KB

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