Re: [fpc-pascal] FPC to create PHP extensions for Linux - GOTCHA

2013-06-02 Thread m...@rpzdesign.com
For anybody that is working on getting PHP extensions built using freepascal, I have some gotchas you may want to know about. The with strategy of avoiding porting the PHP header files into pascal, I am building a .SO library for linux so that my PHP binaries can link to it by using a quick an

Re: [fpc-pascal] FPC to create PHP extensions for Linux

2013-06-02 Thread m...@rpzdesign.com
Ok: After a night of dwelling on the problem, the easiest solution is to create your linux dynamic libraries as a standalone separate lib.so library in free pascal and then use C to create the php extension and link it to the freepascal library. Trying to keep up with all of the PHP headers i