What is the minimum version of GCC required to build PHP?
I am asking because using GCC 2.95.3 and GCC 3.4.0 I get errors related
to the usage of intptr_t (see http://pastebin.com/9Gn0AAXA).
Am 15.03.2015 um 15:34 schrieb Sebastian Bergmann:
I am asking because using GCC 2.95.3 and GCC 3.4.0 I get errors related
to the usage of intptr_t (see http://pastebin.com/9Gn0AAXA).
Over in Room 11, Michael just pointed out that this could be related
to php_stdint.h.
Am 15.03.2015 um 15:34 schrieb Sebastian Bergmann:
I am asking because using GCC 2.95.3 and GCC 3.4.0 I get errors related
to the usage of intptr_t (see http://pastebin.com/9Gn0AAXA).Over in Room 11, Michael just pointed out that this could be related
to php_stdint.h.
Yes, we could probably just add a check whether intptr_t is defined and if not do so according to the bit width of the platform.
Am 15.03.2015 um 15:34 schrieb Sebastian Bergmann:
I am asking because using GCC 2.95.3 and GCC 3.4.0 I get errors related
to the usage of intptr_t (see http://pastebin.com/9Gn0AAXA).Over in Room 11, Michael just pointed out that this could be related
to php_stdint.h.Yes, we could probably just add a check whether intptr_t is defined and
if not do so according to the bit width of the platform.
I remember some bugs affecting php with 2.95.x, I would be careful before
using it. We may as well ask for 3.x with 7+, we may have discussed that
for 5.5 or 5.6, if I am not mistaken.
Am 15.03.2015 um 16:36 schrieb Sebastian Bergmann:
Over in Room 11, Michael just pointed out that this could be related
to php_stdint.h.
Okay, this does not seem to be related to the GCC version but rather
to the fact that some int types etc. are not defined on/for my platform.
If I use -Dintptr_t=long -Duintptr_t=ulong, for instance, then I can
compile PHP (but not link it, but that's another issue).
Hey:
Am 15.03.2015 um 16:36 schrieb Sebastian Bergmann:
Over in Room 11, Michael just pointed out that this could be related
to php_stdint.h.Okay, this does not seem to be related to the GCC version but rather
to the fact that some int types etc. are not defined on/for my platform.
If I use -Dintptr_t=long -Duintptr_t=ulong, for instance, then I can
compile PHP (but not link it, but that's another issue).
what is the link problems?
thanks
--
--
Xinchen Hui
@Laruence
http://www.laruence.com/