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

[fpc-pascal] [Announcement] Patchwrangler

2013-06-02 Thread Reinier Olislagers
Hi lists, Working with the FPC supplied-version of patch.exe on Windows I got tired of fiddling with paths etc when dealing with patches so I wrote patchwrangler: a GUI that loads a patch/diff file, fixes Unix=>DOS (and vice versa) directory separators, and can guess which -p option to pass to pat

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