Date: 12/26/00
- Next message: Zeev Suraski: "Re: [PHP-DEV] register_shutdown_function() question in regards to bug #8395"
- Previous message: root <email protected>: "[PHP-DEV] CVS Account Request"
- In reply to: Bill Stoddard: "Re: [PHP-DEV] Why zend_language_scanner_cc.cc instead of zend_language_scanner.c?"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Why zend_language_scanner_cc.cc instead of zend_language_scanner.c?"
- Reply: Zeev Suraski: "Re: [PHP-DEV] Why zend_language_scanner_cc.cc instead of zend_language_scanner.c?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Bill,
First off, happy holidays.
Second, I got around this particular problem by adding "-Dinline= " to
CFLAGS and setting CXX=xlC_r.
Third, and unfortunately, the next problem I hit seems like more of a
challenge to me. This problem was reported in bug 6626 by someone
trying to compile with Sun's compiler but that bug was closed without
a resolution. The problem is that some of the Zend code depends
heavily on the istream and istdiostream classes/includes which are not
implemented by the IBM C compiler. The closest thing to it are
iostream.h and stdiostream.h (the latter implements the stdiostream
class
which is somewhat similar to istdiostream but not identical). I suspect
that
with the proper ifdefs this could be corrected but I wonder if it's
worth the
trouble or if it would be better for IBM C to add the istream
implementation (not sure, but it might be ANSI?)
I also noticed that the zend_language_scanner.c file attempts to define
the
istdiostream class in-line if it's not found. Perhaps this should be
done in
zend_ini_scanner as well (or some other central place?) which is where I
seem to be hitting the problem. I'm attempting to mess around with this
right now but I'm guessing in the dark so I think it might be better to
let
the Zend guys look at it.
Perhaps a better avenue for us to pursue would be to try and get gcc
working
on the AIX machine. Probably will need to upgrade pthreads (among other
things) but it might end up being easier in the long run. That is,
unless you think
it's important to be able to compile PHP with IBM C. It might also be
worthwhile to upgrade the AIX level to at least 4.3.3 so that we can
install
Java 2.
Alex
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zeev Suraski: "Re: [PHP-DEV] register_shutdown_function() question in regards to bug #8395"
- Previous message: root <email protected>: "[PHP-DEV] CVS Account Request"
- In reply to: Bill Stoddard: "Re: [PHP-DEV] Why zend_language_scanner_cc.cc instead of zend_language_scanner.c?"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Why zend_language_scanner_cc.cc instead of zend_language_scanner.c?"
- Reply: Zeev Suraski: "Re: [PHP-DEV] Why zend_language_scanner_cc.cc instead of zend_language_scanner.c?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

