Hi,
Peter Niederlag schrieb:
[...]
> I think it should be possible to set the compiler-version via EXPORT
> CC=gcc-3.3 but this seems not to work, probably becaus CC is set to gcc
> in the Makefile.
Yes, I am a fool. :-<
Makefile is created by autoconf/configure whatsoever and of course
reflects the the CC,CXX environment vars I do set.
Still I think I haven't noticed this before:
-----------snipp----------------
configure: WARNING: YOUR GCC INSTALLATION IS BROKEN. It tries to link
with the same library for -m32 and -m64 builds. This may result in a
"wrong ELF class" error at runtime. Although you can work around this
bug at runtime by changing the LD_LIBRARY_PATH, we recommend to
re-install the gcc compiler before youcontinue to install the PHP/Java
Bridge.
----------snapp------------------
Everything seems to work now using gcc3-3 and g++-3.3 as the
libs(java,php5) are all compiled with gcc-3.x. Don't know if it would
work with gcc-4.0.
Since I use the 'make CFLAGS="-m32"' now probably I shouldn't have any
problems but still I'd like to know about that message, which sounds
somewhat scaring to me.
Cheers,
Peter
|