readme.txt 7.9 KB

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