home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 August / Chip_1999-08_cd.bin / tema / Pascal / installo.dat < prev    next >
Text File  |  1999-06-30  |  6KB  |  263 lines

  1. #
  2. # $Id: install.os2,v 1.10 1999/06/18 10:28:28 hajny Exp $
  3. #
  4. # EMX Install file
  5. #
  6. title=Free Pascal Compiler for OS/2 and DOS
  7. version=0.99.12
  8.  
  9. basepath=c:\pp
  10. binsub=\bin\os2
  11. ppc386=ppos2
  12.  
  13. package=baseemx.zip,~B~asic system for EMX (required)
  14. package=asldemx.zip,GNU ~L~inker and assembler for EMX (required)
  15. package=gdbemx.zip,GNU ~D~ebugger for EMX and PMGDB front-end
  16. package=utilemx.zip,GNU ~U~tilities (for makefiles)
  17. package=doc-htm.zip,Documentation (~H~TML)
  18. package=demo.zip,D~e~mos
  19. package=rl09912s.zip,~R~un time library sources
  20. package=pp09912s.zip,~C~ompiler sources
  21. package=doc160s.zip,Documentation sources (La~T~eX)
  22.  
  23. cfgfile=ppc386.cfg
  24. defaultcfg=
  25. #
  26. # Example ppc386.cfg for Free Pascal Compiler Version 0.99.12
  27. #
  28.  
  29. # ----------------------
  30. # Defines (preprocessor)
  31. # ----------------------
  32.  
  33. #
  34. # nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
  35. #
  36. # -d is the same as #DEFINE
  37. # -u is the same as #UNDEF
  38. #
  39.  
  40. # When not m68k is defined at the commandline, define i386
  41. #IFNDEF m68k
  42.   #DEFINE i386
  43. #ENDIF
  44.  
  45. #
  46. # Some examples (for switches see below, and the -? helppages)
  47. #
  48. # Try compiling with the -dRELEASE or -dDEBUG on the commandline
  49. #
  50.  
  51. # For a release compile with optimizes and strip debuginfo
  52. #IFDEF RELEASE
  53.   -OG2p2
  54.   -Xs
  55.   #WRITE Compiling Release Version
  56. #ENDIF
  57.  
  58. # For a debug version compile with debuginfo and all codegeneration checks on
  59. #IFDEF DEBUG
  60.   -g
  61.   -Crtoi
  62.   #WRITE Compiling Debug Version
  63. #ENDIF
  64.  
  65. # ----------------
  66. # Parsing switches
  67. # ----------------
  68.  
  69. # All assembler blocks are intel styled by default
  70. #-Rintel
  71.  
  72. # All assembler blocks are AT&T styled by default
  73. #-Ratt
  74.  
  75. # All assembler blocks are directly copied to asm
  76. #-Rdirect
  77.  
  78. # Semantic checking
  79. # -S2   switch some Delphi 2 extension on
  80. # -Sc   supports operators like C (*=,+=,/= and -=)
  81. # -Sg   allows LABEL and GOTO
  82. # -Si   support C++ stlyed INLINE
  83. # -Sm   support macros like C (global)
  84. # -So   tries to be TP/BP 7.0 compatible
  85. # -Ss   constructor name must be init (destructor must be done)
  86. # -St   allows static keyword in objects
  87.  
  88. # Allow goto, inline, C-operators
  89. -Sgic
  90.  
  91. # ---------------
  92. # Code generation
  93. # ---------------
  94.  
  95. # Uncomment the next line if you always want static/dynamic units by default
  96. # (can be overruled with -CD, -CS at the commandline)
  97. #-CS
  98. #-CD
  99.  
  100. # Set the default heapsize to 8Mb
  101. #-Ch8000000
  102.  
  103. # Set default codegeneration checks (iocheck, overflow, range, stack)
  104. #-Ci
  105. #-Co
  106. #-Cr
  107. #-Ct
  108.  
  109. # Optimizer switches
  110. # -Og        generate smaller code
  111. # -OG        generate faster code (default)
  112. # -Or        keep certain variables in registers (still BUGGY!!!)
  113. # -Ou        enable uncertain optimizations (see docs)
  114. # -O1        level 1 optimizations (quick optimizations)
  115. # -O2        level 2 optimizations (-O1 + slower optimizations)
  116. # -O3        level 3 optimizations (same as -O2u)
  117. # -Op        target processor
  118. #     -Op1  set target processor to 386/486
  119. #     -Op2  set target processor to Pentium/PentiumMMX (tm)
  120. #     -Op3  set target processor to PPro/PII/c6x86/K6 (tm)
  121.  
  122. # Optimize always for Size and Pentium
  123. #-Og2p2
  124.  
  125.  
  126. # -----------------------
  127. # Set Filenames and Paths
  128. # -----------------------
  129.  
  130. # Both slashes and backslashes are allowed in paths
  131.  
  132. # path to the messagefile, not necessary anymore but can be used to override
  133. # the default language
  134. #-Fr$1/msg/errore.msg
  135. #-Fr$1/msg/errorn.msg
  136. #-Fr$1/msg/errores.msg
  137. #-Fr$1/msg/errord.msg
  138. #-Fr$1/msg/errorr.msg
  139.  
  140. # path to the gcclib
  141. #-Fl$1/lib
  142.  
  143. # searchpath for includefiles
  144. -Fi$1/source/rtl/inc;$1/source/rtl/i386
  145.  
  146. # searchpath for objectfiles
  147. #-Fo$1/source/rtl/inc;$1/source/rtl/i386
  148.  
  149. # searchpath for units and other system dependent things
  150. #IFDEF Go32V1
  151.   -FD$1/bin/go32v1
  152.   #IFDEF FPC_LINK_STATIC
  153.     -Fu$1/rtl/go32v1/static
  154.     -Fu$1/units/go32v1/static
  155.   #ENDIF
  156.   -Fu$1/rtl/go32v1
  157.   -Fu$1/units/go32v1
  158.   -Fu$1/source/rtl/go32v1
  159.   -Fi$1/source/rtl/go32v1
  160.   -Fo$1/source/rtl/go32v1
  161. #ENDIF
  162. #IFDEF Go32V2
  163.   -FD$1/bin/go32v2
  164.   #IFDEF FPC_LINK_STATIC
  165.     -Fu$1/rtl/go32v2/static
  166.     -Fu$1/units/go32v2/static
  167.   #ENDIF
  168.   -Fu$1/rtl/go32v2
  169.   -Fu$1/units/go32v2
  170.   -Fu$1/source/rtl/go32v2
  171.   -Fi$1/source/rtl/go32v2
  172.   -Fo$1/source/rtl/go32v2
  173. #ENDIF
  174. #IFDEF Win32
  175.   -FD$1/bin/win32
  176.   #IFDEF FPC_LINK_STATIC
  177.     -Fu$1/rtl/win32/static
  178.     -Fu$1/units/win32/static
  179.   #ENDIF
  180.   -Fu$1/rtl/win32
  181.   -Fu$1/units/win32
  182.   -Fu$1/source/rtl/win32
  183.   -Fi$1/source/rtl/win32
  184.   -Fo$1/source/rtl/win32
  185. #ENDIF
  186. #IFDEF OS2
  187.   -FD$1/bin/os2
  188.   #IFDEF FPC_LINK_STATIC
  189.     -Fu$1/rtl/os2/static
  190.     -Fu$1/units/os2/static
  191.   #ENDIF
  192.   -Fu$1/rtl/os2
  193.   -Fu$1/units/os2
  194.   -Fu$1/source/rtl/os2
  195.   -Fi$1/source/rtl/os2
  196.   -Fo$1/source/rtl/os2
  197. #ENDIF
  198. #IFDEF Linux
  199.   # For statically, smartlinked units
  200.   #IFDEF FPC_LINK_STATIC
  201.     -Fu$1/rtl/static
  202.     -Fu$1/units/static
  203.   #ENDIF
  204.   # For Dynamically linked units
  205.   #IFDEF FPC_LINK_DYNAMIC
  206.     -Fu$1/rtl/shared
  207.     -Fu$1/units/shared
  208.   #ENDIF
  209.   -Fu$1/rtl/linux
  210.   -Fu$1/units/linux
  211.   -Fu$1/source/rtl/linux
  212.   -Fi$1/source/rtl/linux
  213.   -Fo$1/source/rtl/linux
  214.   #-Fu~/pp/units;~/pp/rtl/linux
  215.   #-Fu/usr/lib/fpc/0.99.12/units;/usr/lib/fpc/0.99.12/rtl
  216. #ENDIF
  217.  
  218. # searchpath for libraries
  219. #-Fl$1/lib
  220. #-Fl/lib;/usr/lib
  221.  
  222.  
  223. # -------------
  224. # Linking
  225. # -------------
  226.  
  227. # generate always debugging information for GDB (slows down the compiling
  228. # process)
  229. #-g
  230.  
  231. # always pass an option to the linker
  232. #-k-s
  233.  
  234. # Always strip debuginfo from the executable
  235. -Xs
  236.  
  237.  
  238. # -------------
  239. # Miscellaneous
  240. # -------------
  241.  
  242. # Write always a nice FPC logo ;)
  243. -l
  244.  
  245. # Verbosity
  246. # e : Show errors (default)       d : Show debug info
  247. # w : Show warnings               u : Show used files
  248. # n : Show notes                  t : Show tried files
  249. # h : Show hints                  m : Show defined macros
  250. # i : Show general info           p : Show compiled procedures
  251. # l : Show linenumbers            c : Show conditionals
  252. # a : Show everything             0 : Show nothing (except errors)
  253.  
  254. # Display Info, Warnings, Notes and Hints
  255. -viwnh
  256. # If you don't want so much verbosity use
  257. #-vw
  258.  
  259. #
  260. # That's all folks
  261. #
  262. endcfg
  263.