Is it possible to compile and run MySQL as a 64-bit program on Solaris 8? If so, are there precompiled bits available?
The primary reason for doing this is to determine if a 64-bit version would allow the database to be larger than 4-gig. I have been told by another member of our team MySQL has such a limit, and he suggested a 64-bit build might overcome it. Is this correct? I've been attempting to compile MySQL 3.23.47 and 4.0.1 as a 64-bit program using gcc 3.0.3. To build the GCC 3.0.3 with 64 bit capabilities I believe I followed the example found here faithfully: http://www.well.com/~jax/rcfb/solaris_tips/build_gcc_3.0_64bit.html <http://www.well.com/~jax/rcfb/solaris_tips/build_gcc_3.0_64bit.html> When I attempt to build the MySQL I get an argument from the ./configure script telling me "checking return type of sprintf... configure: error: can not run test program while cross compiling". I'm not an expert in the area of gcc and the gnu tools, so I may well have done something wrong somewhere along the line. I'd like to know if I am attempting something that can be accomplished. Has anybody got this working? Here is the complete dump of the configure script: bash-2.03# ./configure --prefix=/opt/ --host=sparcv9-sun-solaris2 loading cache ./config.cache checking host system type... sparcv9-sun-solaris2 checking target system type... sparcv9-sun-solaris2 checking build system type... sparcv9-sun-solaris2 checking for a BSD compatible install... (cached) /usr/local/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for gawk... (cached) nawk checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... yes checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/local/bin/nm -B checking whether ln -s works... (cached) yes loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... none checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/local/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... solaris2 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for a BSD compatible install... /usr/local/bin/install -c checking for bison... bison -y checking for pdftex... no checking return type of sprintf... configure: error: can not run test program while cross compiling bash-2.03# --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php