Frankenstella, a PHP compiler
Wednesday, June 02, 2004
 
Building PHP
Finally built PHP using Microsoft Visual C++ 6.0
Instructions from here.
It worked! <:o)
I built both the CGI and CLI versions in debug mode. So i managed to get some .obj files!! Which is a good thing.
But i'm not sure what to do with these files now... can't exactly read them.
Also have the list of files it went through when compiling the CLI... subject to availability, whether my comp is on or not!! If not, try my yahoo briefcase.
Comments:
Remember- the objective of this tortourous process is to build a component that spews out bytecode.

conclusions
TSRM.c
tsrm_strtok_r.c
tsrm_virtual_cwd.c
tsrm_win32.c

and possibly
zend.c
zend_alloc.c
c:\work\php-4.3.4\zend\zend_alloc.c(217) : warning C4018: '<' : signed/unsigned mismatch
zend_API.c
zend_builtin_functions.c
zend_compile.c
zend_constants.c
zend_dynamic_array.c
zend_execute.c
zend_execute_API.c
c:\work\php-4.3.4\zend\zend_execute_api.c(364) : warning C4018: '==' : signed/unsigned mismatch
zend_extensions.c
zend_hash.c
zend_highlight.c
zend_indent.c
zend_ini.c

need to be compiled before
zend_language_parser.c
zend_language_scanner.c

This might be useful might not be useful dunno.
List of the .objs gened will be useful.
 
Post a Comment

<< Home

Powered by Blogger