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 <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED] PHP Development Mailing List To unsubscribe, e-mail:
[EMAIL PROTECTED] additional commands, e-mail:
[EMAIL PROTECTED] contact the list administrators, e-mail:
[EMAIL PROTECTED]
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]