Hi Friends Please help me I need crosscompile sqlite for my sh4 cpu based linux system, but configure script (any version of sqlite i have tryed, even the actual one from sqlite homepage) fails if crosscompilation is selected. Crosscompiler works good in other cases. Thank you very much.
Jakub Ladman ./configure --build=i686-pc-linux-gnu --host=sh4-pc-linux-uclibc --disable-tcl checking build system type... i686-pc-linux-gnu checking host system type... sh4-pc-linux-uclibc checking for sh4-pc-linux-uclibc-gcc... sh4-pc-linux-uclibc-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether sh4-pc-linux-uclibc-gcc accepts -g... yes checking for sh4-pc-linux-uclibc-gcc option to accept ANSI C... none needed checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by sh4-pc-linux-uclibc-gcc... sh4-pc-linux-uclibc-ld checking if the linker (sh4-pc-linux-uclibc-ld) is GNU ld... yes checking for sh4-pc-linux-uclibc-ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/sh4-pc-linux-uclibc-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... sh4-pc-linux-uclibc-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for sh4-pc-linux-uclibc-g++... sh4-pc-linux-uclibc-g++ checking whether we are using the GNU C++ compiler... yes checking whether sh4-pc-linux-uclibc-g++ accepts -g... yes checking how to run the C++ preprocessor... sh4-pc-linux-uclibc-g++ -E checking for sh4-pc-linux-uclibc-g77... sh4-pc-linux-uclibc-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether sh4-pc-linux-uclibc-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/sh4-pc-linux-uclibc-nm -B output from sh4-pc-linux-uclibc-gcc object... ok checking for objdir... .libs checking for sh4-pc-linux-uclibc-ar... sh4-pc-linux-uclibc-ar checking for sh4-pc-linux-uclibc-ranlib... sh4-pc-linux-uclibc-ranlib checking for sh4-pc-linux-uclibc-strip... sh4-pc-linux-uclibc-strip checking if sh4-pc-linux-uclibc-gcc static flag works... yes checking if sh4-pc-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no checking for sh4-pc-linux-uclibc-gcc option to produce PIC... -fPIC checking if sh4-pc-linux-uclibc-gcc PIC flag -fPIC works... yes checking if sh4-pc-linux-uclibc-gcc supports -c -o file.o... yes checking whether the sh4-pc-linux-uclibc-gcc linker (sh4-pc-linux-uclibc-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by sh4-pc-linux-uclibc-g++... sh4-pc-linux-uclibc-ld checking if the linker (sh4-pc-linux-uclibc-ld) is GNU ld... yes checking whether the sh4-pc-linux-uclibc-g++ linker (sh4-pc-linux-uclibc-ld) supports shared libraries... yes checking for sh4-pc-linux-uclibc-g++ option to produce PIC... -fPIC checking if sh4-pc-linux-uclibc-g++ PIC flag -fPIC works... yes checking if sh4-pc-linux-uclibc-g++ supports -c -o file.o... yes checking whether the sh4-pc-linux-uclibc-g++ linker (sh4-pc-linux-uclibc-ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for sh4-pc-linux-uclibc-g77 option to produce PIC... -fPIC checking if sh4-pc-linux-uclibc-g77 PIC flag -fPIC works... yes checking if sh4-pc-linux-uclibc-g77 supports -c -o file.o... yes checking whether the sh4-pc-linux-uclibc-g77 linker (sh4-pc-linux-uclibc-ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for a BSD-compatible install... /bin/install -c checking for gawk... gawk Version set to 3.3 Release set to 3.3.5 Version number set to 3003005 checking for sh4-pc-linux-uclibc-gcc... (cached) sh4-pc-linux-uclibc-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether sh4-pc-linux-uclibc-gcc accepts -g... (cached) yes checking for sh4-pc-linux-uclibc-gcc option to accept ANSI C... (cached) none needed configure: error: unable to find a compiler for building build tools ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------