Re: [sqlite] sqlite ebuild - my problem, i have half year ago, is still here.
Jakub Ladman wrote: 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. The autoconf stuff is unsupported and from recent comments hereabouts is likely to stay that way. I started to look at it last year but didn't get too far and didn't get anywhere near looking at cross-compilation. There are some autoconf tools which might help - autoreconf comes to mind but if they don't help I think you're going to be on your own unless you can find someone who knows autoconf reasonably well and persuade them to fix it up a bit. There's a Linux Makefile in the source tree - I believe that it's used to build the binaries on the website - have you tried hacking that to see if it will work on your system? Martin - To unsubscribe, send email to [EMAIL PROTECTED] -
[sqlite] Problem with crosscompiler and sqlite - was subject mismatch Re: [sqlite] sqlite ebuild - my problem, i have half year ago, is still here.
Dne sobota 24 Ășnor 2007 18:33 Jakub Ladman napsal(a): > 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
[sqlite] sqlite ebuild - my problem, i have half year ago, is still here.
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