install.os2 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. #
  2. # OS/2 Install file
  3. #
  4. title=Free Pascal Compiler for OS/2
  5. version=0.99.10
  6. basepath=c:\fpc
  7. binsub=\bin\os2
  8. ppc386=ppos2
  9. package=binaries.zip,~B~inaries and runtime library (required)
  10. package=emx.zip,Selected ~E~MX (0.9d) files (if you don't have EMX)
  11. package=debug.zip,GNU ~D~ebugger and PMGDB front-end
  12. package=utilos2.zip,GNU ~U~tilities (for makefiles)
  13. package=demos.zip,D~e~mos
  14. package=docs-htm.zip,Documentation (~H~TML)
  15. package=rtlsrc.zip,~R~un time library sources
  16. package=compsrc.zip,~C~ompiler sources
  17. package=doc110s.zip,Documentation sources (La~T~eX)
  18. cfgfile=ppc386.cfg
  19. defaultcfg=
  20. #
  21. # Example ppc386.cfg for Free Pascal Compiler Version 0.99.10
  22. #
  23. # ----------------------
  24. # Defines (preprocessor)
  25. # ----------------------
  26. #
  27. # nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
  28. #
  29. # -d is the same as #DEFINE
  30. # -u is the same as #UNDEF
  31. #
  32. # When not m68k is defined at the commandline, define i386
  33. #IFNDEF m68k
  34. #DEFINE i386
  35. #ENDIF
  36. #
  37. # Some examples (for switches see below, and the -? helppages)
  38. #
  39. # Try compiling with the -dRELEASE or -dDEBUG on the commandline
  40. #
  41. # For a release compile with optimizes and strip debuginfo
  42. #IFDEF RELEASE
  43. -OG2p2
  44. -Xs
  45. #WRITE Compiling Release Version
  46. #ENDIF
  47. # For a debug version compile with debuginfo and all codegeneration checks on
  48. #IFDEF DEBUG
  49. -g
  50. -Crtoi
  51. #WRITE Compiling Debug Version
  52. #ENDIF
  53. # ----------------
  54. # Parsing switches
  55. # ----------------
  56. # All assembler blocks are intel styled by default
  57. #-Rintel
  58. # All assembler blocks are AT&T styled by default
  59. #-Ratt
  60. # All assembler blocks are directly copied to asm
  61. #-Rdirect
  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. # Both slashes and backslashes are allowed under DOS and OS/2
  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$1/lib
  111. # Standard unit paths
  112. -Fu$1/rtl/inc
  113. -Fu$1/rtl/i386
  114. # searchpath for includefiles
  115. -Fi$1/inc;$1/rtl/inc;$1/i386;$1/rtl/i386
  116. # searchpath for objectfiles
  117. -Fo$1/inc;$1/rtl/inc;$1/i386;$1/rtl/i386
  118. # searchpath for units (does the same as -Up) and other system dependent things
  119. #IFDEF Go32V1
  120. -Fi$1/rtl/go32v1
  121. -FD$1/bin/go32v1
  122. #IFDEF FPC_LINK_STATIC
  123. -Fu$1/rtl/go32v1/static
  124. #ELSE
  125. -Fu$1/rtl/go32v1
  126. #ENDIF
  127. #ENDIF
  128. #IFDEF Go32V2
  129. -Fi$1/rtl/go32v2
  130. -FD$1/bin/go32v2
  131. #IFDEF FPC_LINK_STATIC
  132. -Fu$1/rtl/go32v2/static
  133. #ELSE
  134. -Fu$1/rtl/go32v2
  135. #ENDIF
  136. #ENDIF
  137. #IFDEF Win32
  138. -Fi$1/rtl/win32
  139. -FD$1/bin/win32
  140. #IFDEF FPC_LINK_STATIC
  141. -Fu$1/rtl/win32/static
  142. #ELSE
  143. -Fu$1/rtl/win32
  144. #ENDIF
  145. #ENDIF
  146. #IFDEF OS2
  147. -Fi$1/rtl/os2
  148. -FD$1/bin/os2
  149. #IFDEF FPC_LINK_STATIC
  150. -Fu$1/rtl/os2/static
  151. #ELSE
  152. -Fu$1/rtl/os2
  153. #ENDIF
  154. #ENDIF
  155. #IFDEF Linux
  156. # For statically, smartlinked units
  157. #IFDEF FPC_LINK_STATIC
  158. -Fu$1/rtl/static
  159. -Fu$1/units/static
  160. #ENDIF
  161. # For Dynamically linked units
  162. #IFDEF FPC_LINK_DYNAMIC
  163. -Fu$1/rtl/shared
  164. -Fu$1/units/shared
  165. #ENDIF
  166. # For normal units
  167. -Fu$1/rtl
  168. -Fu$1/units
  169. #-Fu~/pp/units;~/pp/rtl/linux
  170. #-Fu/usr/lib/ppc/units;/usr/lib/ppc/linuxunits
  171. #ENDIF
  172. # searchpath for libraries
  173. #-Fl$1/lib
  174. #-Fl/lib;/usr/lib
  175. # -------------
  176. # Linking
  177. # -------------
  178. # generate always debugging information for GDB (slows down the compiling
  179. # process)
  180. #-g
  181. # always pass an option to the linker
  182. #-k-s
  183. # Always strip debuginfo from the executable
  184. #-Xs
  185. # -------------
  186. # Miscellaneous
  187. # -------------
  188. # Write always a nice FPC logo ;)
  189. -l
  190. # Verbosity
  191. # e : Show errors (default) d : Show debug info
  192. # w : Show warnings u : Show used files
  193. # n : Show notes t : Show tried files
  194. # h : Show hints m : Show defined macros
  195. # i : Show general info p : Show compiled procedures
  196. # l : Show linenumbers c : Show conditionals
  197. # a : Show everything 0 : Show nothing (except errors)
  198. # Display Info, Warnings, Notes and Hints
  199. -viwnh
  200. # If you don't want so much verbosity use
  201. #-vw
  202. #
  203. # That's all folks
  204. #
  205. endcfg