home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / rxregexp.zip / ToMake.txt < prev    next >
Text File  |  1998-04-14  |  8KB  |  181 lines

  1.                Instructions for making the DLL (if you wish to)
  2.                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. (1) You have already got the basic rexx DLL stuff (otherwise how are
  5.     you reading this!).  It was obtained from Dennis Bareis' web page
  6.     at http://www.ozemail.com.au/~dbareis (db0@anz.com).
  7.  
  8. (2) You need to obtain "regexp.c", "regsub.c", "regexp.h" &
  9.     "regmagic.h" from Henry Spencers regular expression source.
  10.  
  11. (2) Grab my "REXXDLL.C" & "REXXDLL.H" rexx dll helper modules.
  12.  
  13. (3) Make it.  Make file output for Visual Age follows.  The only real
  14.     important trick is to compile with SYSTEM linkage by default as
  15.     there are no prototypes in Henry's code.
  16.  
  17.  
  18.  
  19.                    EXAMPLE MAKE OUTPUT USING VISUAL AGE C++
  20.                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  21.  
  22.  
  23. *** COMPILING ".\RXREGEXP.c" *******************************
  24. %setenv INCLUDE=E:\DB\SUPPORT;.\.\OUT;E:\IBMCPP\INCLUDE;E:\IBMCPP\INCLUDE\OS2;E:\IBMCPP\INC;E:\IBMCPP\INCLUDE\SOM;E:\JAVA11\INCLUDE;E:\JAVAOS2\INCLUDE;E:\JAVA11\INCLUDE\OS2;E:\JAVAOS2\INCLUDE\OS2;E:\DB\UTILP\GUIDE\INCLUDE
  25. STDT.EXE RXREGEXP.err "ICC.EXE /Q /c -Gm+ -Mp -O+ -Oc+ -G4 -Ss /Gd-  -Tdc /Ms -I. /Fo.\OUT\RXREGEXP.OBJ .\RXREGEXP.c"
  26. .\RXREGEXP.c(87:5) : informational EDC0425: The condition is always false.
  27. .\RXREGEXP.c(116:5) : informational EDC0425: The condition is always false.
  28. .\RXREGEXP.c(171:5) : informational EDC0425: The condition is always false.
  29. .\RXREGEXP.c(251:5) : informational EDC0425: The condition is always false.
  30.  
  31.  
  32. *** COMPILING ".\REXXDLL.c" *******************************
  33. %setenv INCLUDE=E:\DB\SUPPORT;.\.\OUT;E:\IBMCPP\INCLUDE;E:\IBMCPP\INCLUDE\OS2;E:\IBMCPP\INC;E:\IBMCPP\INCLUDE\SOM;E:\JAVA11\INCLUDE;E:\JAVAOS2\INCLUDE;E:\JAVA11\INCLUDE\OS2;E:\JAVAOS2\INCLUDE\OS2;E:\DB\UTILP\GUIDE\INCLUDE
  34. STDT.EXE REXXDLL.err "ICC.EXE /Q /c -Gm+ -Mp -O+ -Oc+ -G4 -Ss /Gd-  -Tdc /Ms -I. /Fo.\OUT\REXXDLL.OBJ .\REXXDLL.c"
  35. .\REXXDLL.c(43:5) : informational EDC0425: The condition is always false.
  36. .\REXXDLL.c(60:5) : informational EDC0425: The condition is always false.
  37. .\REXXDLL.c(85:5) : informational EDC0425: The condition is always false.
  38.  
  39.  
  40. *** COMPILING ".\regexp.c" *******************************
  41. %setenv INCLUDE=E:\DB\SUPPORT;.\.\OUT;E:\IBMCPP\INCLUDE;E:\IBMCPP\INCLUDE\OS2;E:\IBMCPP\INC;E:\IBMCPP\INCLUDE\SOM;E:\JAVA11\INCLUDE;E:\JAVAOS2\INCLUDE;E:\JAVA11\INCLUDE\OS2;E:\JAVAOS2\INCLUDE\OS2;E:\DB\UTILP\GUIDE\INCLUDE
  42. STDT.EXE regexp.err "ICC.EXE /Q /c -Gm+ -Mp -O+ -Oc+ -G4 -Ss /Gd-  -Tdc /Ms -I. /Fo.\OUT\regexp.OBJ .\regexp.c"
  43. .\regexp.c(948:1) : informational EDC0481: The end of the function may be reached without returning a value.
  44.  
  45.  
  46. *** COMPILING ".\regsub.c" *******************************
  47. %setenv INCLUDE=E:\DB\SUPPORT;.\.\OUT;E:\IBMCPP\INCLUDE;E:\IBMCPP\INCLUDE\OS2;E:\IBMCPP\INC;E:\IBMCPP\INCLUDE\SOM;E:\JAVA11\INCLUDE;E:\JAVAOS2\INCLUDE;E:\JAVA11\INCLUDE\OS2;E:\JAVAOS2\INCLUDE\OS2;E:\DB\UTILP\GUIDE\INCLUDE
  48. STDT.EXE regsub.err "ICC.EXE /Q /c -Gm+ -Mp -O+ -Oc+ -G4 -Ss /Gd-  -Tdc /Ms -I. /Fo.\OUT\regsub.OBJ .\regsub.c"
  49.  
  50.  
  51. *** MAKING DLL ".\OUT\RxRegExp.DLL" *******************************
  52. %setenv LIB=;E:\IBMCPP\LIB;E:\IBMCPP\DLL;E:\JAVA11\LIB;E:\javaos2\lib
  53. *** MAKING A "NORMAL" DLL (everything statically linked).
  54. *** NEED TO MAKE ".\OUT\DLLDUMY.OBJ" **************************
  55. STDT.EXE .\DLLDUMY.ERR "ICC.EXE /Q /c -Gm+ /Ge- /Gd- /W1 /Fo.\OUT\DLLDUMY.OBJ .\DLLDUMY.C"
  56. ILink.EXE /NOFREE @.\OUT\RxRegExp._LD
  57.             /Noe /Map /NoLogo /Align:2 /ExePack:1 /DLL +
  58.             .\OUT\RXREGEXP.OBJ+
  59.             .\OUT\REXXDLL.OBJ+
  60.             .\OUT\regexp.OBJ+
  61.             .\OUT\regsub.OBJ+
  62.             .\OUT\DLLDUMY.OBJ
  63.             .\OUT\RxRegExp.dll
  64.             .\OUT\RxRegExp.map
  65.             E:\IBMCPP\LIB\REXX.LIB
  66.             .\RXREGEXP.DEF;
  67.  
  68.  
  69. IBM(R) Linker for OS/2(R), Version 01.04.r1a_CTC304F
  70. (C) Copyright IBM Corporation 1988, 1995.
  71. (C) Copyright Microsoft Corp. 1988, 1989.
  72.  - Licensed Material - Program-Property of IBM - All Rights Reserved.
  73.  
  74. Object Modules [.obj]:             /Noe /Map /NoLogo /Align:2 /ExePack:1 /DLL +
  75. Object Modules [.obj]:             .\OUT\RXREGEXP.OBJ+
  76. Object Modules [.obj]:             .\OUT\REXXDLL.OBJ+
  77. Object Modules [.obj]:             .\OUT\regexp.OBJ+
  78. Object Modules [.obj]:             .\OUT\regsub.OBJ+
  79. Object Modules [.obj]:             .\OUT\DLLDUMY.OBJ
  80. Run File [RXREGEXP.*]:             .\OUT\RxRegExp.dll
  81. Map File [RxRegExp.map]:             .\OUT\RxRegExp.map
  82. Libraries [.lib]:             E:\IBMCPP\LIB\REXX.LIB
  83. Definitions File [nul.def]:             .\RXREGEXP.DEF;
  84.  
  85.  
  86.  
  87. *** MAKING KERNAL DEBUGGER SYMBOL FILE ".\OUT\RxRegExp.SYM" ******************
  88.  
  89.  
  90. Operating System/2 Symbol File Generator
  91.  
  92. Version 3.00.002 Mar  1 1995
  93.  
  94. Copyright (C) IBM Corporation 1988-1995
  95.  
  96. Copyright (C) Microsoft Corp. 1988-1991.
  97.  
  98. All rights reserved.
  99.  
  100.  
  101. Program entry point at 0001:45b0
  102.  
  103.  
  104. *** Preprocessing ".\RxRegExp.ipf" (IPFCPREP.EXE) ****************
  105. %setenv INCLUDE=E:\DB\SUPPORT;.\.\OUT;E:\IBMCPP\INCLUDE;E:\IBMCPP\INCLUDE\OS2;E:\IBMCPP\INC;E:\IBMCPP\INCLUDE\SOM;E:\JAVA11\INCLUDE;E:\JAVAOS2\INCLUDE;E:\JAVA11\INCLUDE\OS2;E:\JAVAOS2\INCLUDE\OS2;E:\DB\UTILP\GUIDE\INCLUDE
  106. IPFCPREP.EXE  .\RxRegExp.ipf   IPFCPREP.IPF
  107.  
  108. IPFC Preprocessor
  109. Version 1.0 by Doug Haigh
  110. (C) IBM Corp. 1992
  111. <.\RxRegExp.ipf:     17>  Imbedding =>IPFGEN.IPF
  112. <.\RxRegExp.ipf:    339>  Imbedding =>TestRe.CMD
  113. copy   IPFCPREP.IPF .\OUT
  114.         1 file(s) copied.
  115.  
  116.  
  117. *** Preprocessing ".\RxRegExp.ipf" (SRCHREPL.EXE) ****************
  118. SRCHREPL.EXE E:\DB\SUPPORT\IPFXMP.IPF IPFCPREP.IPF SRCHREPL.IPF  $StopTextChanges  $RemoveBlankLines
  119. []--------------------------------------------------[]
  120. | SRCHREPL.EXE, version 96.235 (Search/Replace text) |
  121. []--------------------------------------------------[]
  122.  
  123. IPFCPREP.IPF(849): Will translate "RegExpVersion" to ":link reftype=hd refid=RegExpVersion.RegExpVersion:elink."
  124. IPFCPREP.IPF(850): Will translate "RegExpCompile" to ":link reftype=hd refid=RegExpCompile.RegExpCompile:elink."
  125. IPFCPREP.IPF(851): Will translate "RegExpMatch" to ":link reftype=hd refid=RegExpMatch.RegExpMatch:elink."
  126. IPFCPREP.IPF(852): Will translate "RegExpReplace" to ":link reftype=hd refid=RegExpReplace.RegExpReplace:elink."
  127. CHANGES
  128. ~~~~~~~
  129.       10 x "."
  130.       10 x "{FullStop}"
  131.        4 x ":"
  132.        5 x "RegExpVersion"
  133.        6 x "RegExpCompile"
  134.        4 x "RegExpMatch"
  135.        4 x "RegExpReplace"
  136.  
  137. 43 changes made to IPFCPREP.IPF.  148 lines out of 1,015 processed.
  138.  
  139. copy   SRCHREPL.IPF .\OUT
  140.         1 file(s) copied.
  141.  
  142.  
  143. *** MAKING INF FILE ".\OUT\RxRegExp.INF" *******************************
  144. IPFC.EXE   SRCHREPL.IPF  /S /INF
  145. Operating System/2 Information Presentation Facility Compiler
  146. Version 3.00.002 March 7 1995
  147. Copyright (C) IBM Corporation 1991-1995
  148. All rights reserved
  149.  
  150. Compiling document with following Country Code, Code Page:
  151. 61, 850
  152. ........
  153. Resolving cross-references
  154.  
  155. Cross-references resolved
  156. ........
  157.  
  158. Statistics :
  159.  
  160. Document title : Regular Expressions For REXX (140498.1904)
  161.  
  162. Total panels created        : 8
  163. Panels defined by name      : 0
  164. Panels defined by number    : 0
  165. Words in dictionary         : 586
  166. Global index entries        : 0
  167. Total index entries         : 8
  168. Total fonts used            : 4
  169. Files referenced externally : 0
  170. Panels defined externally   : 0
  171. Document's Country Code     : 61
  172. Document's Code Page        : 850
  173.  
  174. Output file successfully created (INF) [SRCHREPL.INF]
  175. copy   SRCHREPL.INF .\OUT\RxRegExp.INF
  176.         1 file(s) copied.
  177.  
  178.  
  179. make complete.
  180.  
  181.