Hello, World.

I successfully built a 64bit MySQL for SuSE Enterprise Linux Server 8 
(SLES8) for Linux on POWER.

The SLES8 gcc implememtation has two separate toolchains for 32 and 64 
bit.  However, RHEL3 has a biarch gcc implementation, where the -m64 flag 
is used to tell the compiler/linker to use 64bit.

When I ran the configure script on RHEL3, with $CFLAGS and $LDFLAGS set to 
"-m64" the resulting Makefile has the "-m64" flag in CFLAGS, but not the 
various LDFLAGS.  So, when I tried to make the build on RHEL3, the linker 
tried to make 32bit binaries from the 64bit object files.

So, my conclusion is that the configure script isn't applying the 
environment variables to the makefiles properly, which I think is a bug.

Thanks,

Matt

Reply via email to