install.lin 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. #
  2. # $Id$
  3. #
  4. # Linux Install file
  5. #
  6. title=Free Pascal Compiler for Linux
  7. version=0.99.10
  8. basepath=/usr/lib/fpc/0.99.10
  9. binsub=
  10. ppc386=ppc386
  11. package=basego32.zip,~B~asic system for Linux (required)
  12. #package=asldgo32.zip,GNU ~L~inker and GNU Assembler for Go32v2 (required)
  13. #package=gdbgo32.zip,GNU ~D~ebugger for Go32v2
  14. #package=utilgo32.zip,GNU ~U~tilities (required to recompile run time library)
  15. package=demo.zip,D~e~mos
  16. package=docs-htm.zip,Documentation (~H~TML)
  17. package=rl09910s.zip,~R~un time library sources
  18. package=pp09910s.zip,~C~ompiler sources
  19. package=doc110s.zip,Documentation sources (La~T~eX)
  20. cfgfile=ppc386.cfg
  21. defaultcfg=
  22. #
  23. # Example ppc386.cfg for Free Pascal Compiler Version 0.99.10
  24. #
  25. # ----------------------
  26. # Defines (preprocessor)
  27. # ----------------------
  28. #
  29. # nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
  30. #
  31. # -d is the same as #DEFINE
  32. # -u is the same as #UNDEF
  33. #
  34. # When not m68k is defined at the commandline, define i386
  35. #IFNDEF m68k
  36. #DEFINE i386
  37. #ENDIF
  38. #
  39. # Some examples (for switches see below, and the -? helppages)
  40. #
  41. # Try compiling with the -dRELEASE or -dDEBUG on the commandline
  42. #
  43. # For a release compile with optimizes and strip debuginfo
  44. #IFDEF RELEASE
  45. -OG2p2
  46. -Xs
  47. #WRITE Compiling Release Version
  48. #ENDIF
  49. # For a debug version compile with debuginfo and all codegeneration checks on
  50. #IFDEF DEBUG
  51. -g
  52. -Crtoi
  53. #WRITE Compiling Debug Version
  54. #ENDIF
  55. # ----------------
  56. # Parsing switches
  57. # ----------------
  58. # All assembler blocks are intel styled by default
  59. #-Rintel
  60. # All assembler blocks are AT&T styled by default
  61. #-Ratt
  62. # Semantic checking
  63. # -S2 switch some Delphi 2 extension on
  64. # -Sc supports operators like C (*=,+=,/= and -=)
  65. # -Sg allows LABEL and GOTO
  66. # -Si support C++ stlyed INLINE
  67. # -Sm support macros like C (global)
  68. # -So tries to be TP/BP 7.0 compatible
  69. # -Ss constructor name must be init (destructor must be done)
  70. # -St allows static keyword in objects
  71. # Allow goto, inline, C-operators
  72. -Sgic
  73. # ---------------
  74. # Code generation
  75. # ---------------
  76. # Uncomment the next line if you always want static/dynamic units by default
  77. # (can be overruled with -CD, -CS at the commandline)
  78. #-CS
  79. #-CD
  80. # Set the default heapsize to 8Mb
  81. #-Ch8000000
  82. # Set default codegeneration checks (iocheck, overflow, range, stack)
  83. #-Ci
  84. #-Co
  85. #-Cr
  86. #-Ct
  87. # Optimizer switches
  88. # -Og generate smaller code
  89. # -OG generate faster code (default)
  90. # -Or keep certain variables in registers (still BUGGY!!!)
  91. # -Ou enable uncertain optimizations (see docs)
  92. # -O1 level 1 optimizations (quick optimizations)
  93. # -O2 level 2 optimizations (-O1 + slower optimizations)
  94. # -O3 level 3 optimizations (same as -O2u)
  95. # -Op target processor
  96. # -Op1 set target processor to 386/486
  97. # -Op2 set target processor to Pentium/PentiumMMX (tm)
  98. # -Op3 set target processor to PPro/PII/c6x86/K6 (tm)
  99. # Optimize always for Size and Pentium
  100. #-OG2p2
  101. # -----------------------
  102. # Set Filenames and Paths
  103. # -----------------------
  104. # Slashes are also allowed under dos
  105. # path to the messagefile, not necessary anymore but can be used to override
  106. # the default language
  107. #-Fr$1/msg/errore.msg
  108. #-Fr$1/msg/errorn.msg
  109. # path to the gcclib
  110. #-Fg/usr/lib/gcc-lib/i486-linux/2.7.2.3/
  111. # searchpath for includefiles
  112. #-Fi~/pp/inc;~/pp/rtl/inc
  113. # searchpath for units (does the same as -Up)
  114. # For statically, smartlinked units
  115. #IFDEF FPC_LINK_STATIC
  116. -Fu$1/linuxunits/static
  117. #ENDIF
  118. # For Dynamically linked units
  119. #IFDEF FPC_LINK_DYNAMIC
  120. -Fu$1/linuxunits/shared
  121. #ENDIF
  122. # For normal units
  123. -Fu$1/linuxunits
  124. #-Fu~/pp/units;~/pp/rtl/linux
  125. #-Fu/usr/lib/ppc/units;/usr/lib/ppc/linuxunits
  126. # searchpath for libraries
  127. #-Fl/pp/lib
  128. #-Fl/lib;/usr/lib
  129. # -------------
  130. # Linking
  131. # -------------
  132. # generate always debugging information for GDB (slows down the compiling
  133. # process)
  134. #-g
  135. # always pass an option to the linker
  136. #-k-s
  137. # Always strip debuginfo from the executable
  138. #-Xs
  139. # -------------
  140. # Miscellaneous
  141. # -------------
  142. # Write always a nice FPC logo ;)
  143. -l
  144. # Verbosity
  145. # e : Show errors (default) d : Show debug info
  146. # w : Show warnings u : Show used files
  147. # n : Show notes t : Show tried files
  148. # h : Show hints m : Show defined macros
  149. # i : Show general info p : Show compiled procedures
  150. # l : Show linenumbers c : Show conditionals
  151. # a : Show everything 0 : Show nothing (except errors)
  152. # Display Info, Warnings, Notes and Hints
  153. -viwnh
  154. # If you don't want so much verbosity use
  155. #-vw
  156. #
  157. # That's all folks
  158. #
  159. endcfg