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

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