bjori           Fri Sep 22 13:05:20 2006 UTC

  Modified files:              
    /phpdoc/en/internals/zendapi        creating.xml 
  Log:
  Fixed bug#38925 (incorrect compile option)
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/internals/zendapi/creating.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/internals/zendapi/creating.xml
diff -u phpdoc/en/internals/zendapi/creating.xml:1.1 
phpdoc/en/internals/zendapi/creating.xml:1.2
--- phpdoc/en/internals/zendapi/creating.xml:1.1        Sun Aug 21 16:27:06 2005
+++ phpdoc/en/internals/zendapi/creating.xml    Fri Sep 22 13:05:20 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
- <!-- $Revision: 1.1 $ -->
+ <!-- $Revision: 1.2 $ -->
  <sect1 id="zend.creating"> 
   <title>Creating Extensions</title> 
   <para>
@@ -146,7 +146,7 @@
         </row> 
         <row> 
          <entry colname="col1">Compiling</entry> 
-         <entry colname="col2">cc -fpic -DCOMPILE_DL=1 -I/usr/local/include -I.
+         <entry colname="col2">cc -fpic -DCOMPILE_DL_FIRST_MODULE=1 
-I/usr/local/include -I.
      -I.. -I../Zend -c -o <filename>&lt;your_object_file&gt;</filename>
      <filename>&lt;your_c_file&gt;</filename></entry> 
                </row> 
@@ -161,7 +161,8 @@
     </informaltable>
      The command to compile the module simply instructs the compiler
      to generate position-independent code (<literal>-fpic</literal> shouldn't 
be
-     omitted) and additionally defines the constant 
<literal>COMPILE_DL</literal> to
+     omitted) and additionally defines the constant
+     <literal>COMPILE_DL_FIRST_MODULE</literal> to
      tell the module code that it's compiled as a dynamically loadable module 
(the
      test module above checks for this; we'll discuss it shortly). After these
      options, it specifies a number of standard include paths that should be 
used

Reply via email to