Re: Compiling PHP as a NLM
| From: | Matt White | Date: | Wed, 25 Apr 2001 17:39:10 +0000 |
| Subject: | Re: Compiling PHP as a NLM | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52409@lists.php.net to get a copy of this message | ||
Davin;
I've been wanting to do this for a while (compile PHP as an Apache/NetWare module). If you need
help, please let me know. I don't have a NetWare compiler, but I've been needing a reason
to get one.
The flags that are being passed into GCC control the way it compiles (In order... All warnings,
optimize to level two, include debug symbols, use /usr/nwsdk/include as a include path, don't
use the standard includes, don't use the built-in functions, and pack structs).
If you're not using GCC (or are you?), you'll need to set those flags in your compiler.
- Matt
>>> Davin Thompson <dave@marysville.k12.mi.us> 04/25/01 01:01PM >>>
I am currently attempting to compile PHP as an NLM. Unfortunately,my programming skills fall short
of the task, but I am wading my way throughit. What I am currently stuck on is where in the php4
configure script(if this is the right place to do it at) should I add the following tohave it passed
to gcc as it compiles it?
CFLAGS = -Wall -O2 -g -I/usr/nwsdk/include/ -nostdinc -fno-builtin -fpack-struct
Im not sure what other problems I may run into down the road, but Ihave made it this far at least..
Any help anyone could providewould be immensely appreciated
Thanks,
Davin Thompson
dave@marysville.k12.mi.us-- PHP Development Mailing List To unsubscribe, e-mail:
php-dev-unsubscribe@lists.php.netFor additional commands, e-mail: php-dev-help@lists.php.netTo
contact the list administrators, e-mail: php-list-admin@lists.php.net