install.os2 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. #
  2. # $Id$
  3. #
  4. # EMX Install file
  5. #
  6. title=Free Pascal Compiler for OS/2 and DOS
  7. version=0.99.12
  8. basepath=c:\pp
  9. binsub=\bin\os2
  10. ppc386=ppos2
  11. package=baseemx.zip,~B~asic system for EMX (required)
  12. package=asldemx.zip,GNU ~L~inker and assembler for EMX (required)
  13. package=gdbemx.zip,GNU ~D~ebugger for EMX and PMGDB front-end
  14. package=utilemx.zip,GNU ~U~tilities (for makefiles)
  15. package=demos.zip,D~e~mos
  16. package=docs-htm.zip,Documentation (~H~TML)
  17. package=rl09912s.zip,~R~un time library sources
  18. package=pp09912s.zip,~C~ompiler sources
  19. package=doc160s.zip,Documentation sources (La~T~eX)
  20. cfgfile=ppc386.cfg
  21. defaultcfg=
  22. #
  23. # Example ppc386.cfg for Free Pascal Compiler Version 0.99.12
  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. # All assembler blocks are directly copied to asm
  63. #-Rdirect
  64. # Semantic checking
  65. # -S2 switch some Delphi 2 extension on
  66. # -Sc supports operators like C (*=,+=,/= and -=)
  67. # -Sg allows LABEL and GOTO
  68. # -Si support C++ stlyed INLINE
  69. # -Sm support macros like C (global)
  70. # -So tries to be TP/BP 7.0 compatible
  71. # -Ss constructor name must be init (destructor must be done)
  72. # -St allows static keyword in objects
  73. # Allow goto, inline, C-operators
  74. -Sgic
  75. # ---------------
  76. # Code generation
  77. # ---------------
  78. # Uncomment the next line if you always want static/dynamic units by default
  79. # (can be overruled with -CD, -CS at the commandline)
  80. #-CS
  81. #-CD
  82. # Set the default heapsize to 8Mb
  83. #-Ch8000000
  84. # Set default codegeneration checks (iocheck, overflow, range, stack)
  85. #-Ci
  86. #-Co
  87. #-Cr
  88. #-Ct
  89. # Optimizer switches
  90. # -Og generate smaller code
  91. # -OG generate faster code (default)
  92. # -Or keep certain variables in registers (still BUGGY!!!)
  93. # -Ou enable uncertain optimizations (see docs)
  94. # -O1 level 1 optimizations (quick optimizations)
  95. # -O2 level 2 optimizations (-O1 + slower optimizations)
  96. # -O3 level 3 optimizations (same as -O2u)
  97. # -Op target processor
  98. # -Op1 set target processor to 386/486
  99. # -Op2 set target processor to Pentium/PentiumMMX (tm)
  100. # -Op3 set target processor to PPro/PII/c6x86/K6 (tm)
  101. # Optimize always for Size and Pentium
  102. #-Og2p2
  103. # -----------------------
  104. # Set Filenames and Paths
  105. # -----------------------
  106. # Both slashes and backslashes are allowed under DOS and OS/2
  107. # path to the messagefile, not necessary anymore but can be used to override
  108. # the default language
  109. #-Fr$1/msg/errore.msg
  110. #-Fr$1/msg/errorn.msg
  111. # path to the gcclib
  112. #-Fg$1/lib
  113. # Standard unit paths
  114. -Fu$1/rtl/inc
  115. -Fu$1/rtl/i386
  116. # searchpath for includefiles
  117. -Fi$1/inc;$1/rtl/inc;$1/i386;$1/rtl/i386
  118. # searchpath for objectfiles
  119. -Fo$1/inc;$1/rtl/inc;$1/i386;$1/rtl/i386
  120. # searchpath for units (does the same as -Up) and other system dependent things
  121. #IFDEF Go32V1
  122. -Fi$1/rtl/go32v1
  123. -FD$1/bin/go32v1
  124. #IFDEF FPC_LINK_STATIC
  125. -Fu$1/rtl/go32v1/static
  126. #ELSE
  127. -Fu$1/rtl/go32v1
  128. #ENDIF
  129. #ENDIF
  130. #IFDEF Go32V2
  131. -Fi$1/rtl/go32v2
  132. -FD$1/bin/go32v2
  133. #IFDEF FPC_LINK_STATIC
  134. -Fu$1/rtl/go32v2/static
  135. #ELSE
  136. -Fu$1/rtl/go32v2
  137. #ENDIF
  138. #ENDIF
  139. #IFDEF Win32
  140. -Fi$1/rtl/win32
  141. -FD$1/bin/win32
  142. #IFDEF FPC_LINK_STATIC
  143. -Fu$1/rtl/win32/static
  144. #ELSE
  145. -Fu$1/rtl/win32
  146. #ENDIF
  147. #ENDIF
  148. #IFDEF OS2
  149. -Fi$1/rtl/os2
  150. -FD$1/bin/os2
  151. #IFDEF FPC_LINK_STATIC
  152. -Fu$1/rtl/os2/static
  153. #ELSE
  154. -Fu$1/rtl/os2
  155. #ENDIF
  156. #ENDIF
  157. #IFDEF Linux
  158. # For statically, smartlinked units
  159. #IFDEF FPC_LINK_STATIC
  160. -Fu$1/rtl/static
  161. -Fu$1/units/static
  162. #ENDIF
  163. # For Dynamically linked units
  164. #IFDEF FPC_LINK_DYNAMIC
  165. -Fu$1/rtl/shared
  166. -Fu$1/units/shared
  167. #ENDIF
  168. # For normal units
  169. -Fu$1/rtl
  170. -Fu$1/units
  171. #-Fu~/pp/units;~/pp/rtl/linux
  172. #-Fu/usr/lib/ppc/units;/usr/lib/ppc/linuxunits
  173. #ENDIF
  174. # searchpath for libraries
  175. #-Fl$1/lib
  176. #-Fl/lib;/usr/lib
  177. # -------------
  178. # Linking
  179. # -------------
  180. # generate always debugging information for GDB (slows down the compiling
  181. # process)
  182. #-g
  183. # always pass an option to the linker
  184. #-k-s
  185. # Always strip debuginfo from the executable
  186. -Xs
  187. # -------------
  188. # Miscellaneous
  189. # -------------
  190. # Write always a nice FPC logo ;)
  191. -l
  192. # Verbosity
  193. # e : Show errors (default) d : Show debug info
  194. # w : Show warnings u : Show used files
  195. # n : Show notes t : Show tried files
  196. # h : Show hints m : Show defined macros
  197. # i : Show general info p : Show compiled procedures
  198. # l : Show linenumbers c : Show conditionals
  199. # a : Show everything 0 : Show nothing (except errors)
  200. # Display Info, Warnings, Notes and Hints
  201. -viwnh
  202. # If you don't want so much verbosity use
  203. #-vw
  204. #
  205. # That's all folks
  206. #
  207. endcfg