Thank you for your reply.
But it doesn't help me really. I want to use the configure-script. Can you give me a 
hint?
I tried --prefix=($PREFIX) --host=cris-axis-linux-gnu --target=cris-axis-linux-gnu 
--build=cris-axis-linux-gnu. This has worked in combination to a target-makefrag in 
the topleveldirectory and some exported environment variables, when I compiled BlueZ 
for the devboard. $PREFIX is the target directory.
I commented out some lines in the configure script which created an error when 
crosscompiling.
tcl.h and readline.h are'nt found while configuring. When making install, it seems a 
binary file created by cris-gcc should be executed, but it doesn't work.
Do you have an idea?
Regards
Daniel
 
The last lines from the output:

checking for library containing Tcl_Init... no
checking TCL header files... not specified: still searching...
checking tcl.h usability... no
checking tcl.h presence... no
checking for tcl.h... no
checking for /usr/local/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for /usr/X11/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for /usr/X11R6/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for /usr/pkg/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for /usr/contrib/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for /usr/include/tcl.h...
../configure: line 20030: test: =: unary operator expected
checking for library containing tgetent... no
checking for readline in -lreadline... no
checking readline header files... not specified: still searching...
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking for /usr/include/readline.h...
../configure: line 20437: test: =: unary operator expected
checking for /usr/include/readline/readline.h...
../configure: line 20463: test: =: unary operator expected
checking for /usr/local/include/readline.h...
../configure: line 20437: test: =: unary operator expected
checking for /usr/local/include/readline/readline.h...
../configure: line 20463: test: =: unary operator expected
checking for /usr/local/readline/include/readline.h...
../configure: line 20437: test: =: unary operator expected
checking for /usr/local/readline/include/readline/readline.h...
../configure: line 20463: test: =: unary operator expected
checking for /usr/contrib/include/readline.h...
../configure: line 20437: test: =: unary operator expected
checking for /usr/contrib/include/readline/readline.h...
../configure: line 20463: test: =: unary operator expected
checking for /mingw/include/readline.h...
../configure: line 20437: test: =: unary operator expected
checking for /mingw/include/readline/readline.h...
../configure: line 20463: test: =: unary operator expected
checking for usleep... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlite3.pc
make -C sqlite/build
make[2]: Entering directory `/var/axis/axis/devboard_82/apps/database/sqlite/build'
sed -e s/--VERS--/`cat ../VERSION`/ \
../src/sqlite.h.in >sqlite3.h
echo '#include ' >temp.c
echo 'int main(){printf(' >>temp.c
echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c
echo 'exit(0);}' >>temp.c
gcc-cris -isystem /var/axis/axis/devboard_82/target/cris-axis-linux-gnu/include 
-mlinux -g -O2 -o temp temp.c
./temp >config.h
/bin/sh: line 1: ./temp: cannot execute binary file
make[2]: *** [config.h] Error 126
make[2]: Leaving directory `/var/axis/axis/devboard_82/apps/database/sqlite/build'
make[1]: *** [buildsqlite] Error 2
make[1]: Leaving directory `/var/axis/axis/devboard_82/apps/database'
make: *** [install-recurse] Error 1
[EMAIL PROTECTED] devboard_82]#


> > I want to crosscompile sqlite to an axis devboard82. I use gcc-cris 
> > (cris-dist-1.56).
> > Has anybody gained general experience with crosscompiling sqlite?
> > How have I to define options as host, build, etc.? Have I to use the "with 
> > package"-options?
> > Any feedback appreciated, thanks in advance,
> > Daniel
> > 
> 
> The windows binaries on the website are cross-compiled on a Linux system.
> The script that does everything is in the top-level directory of the source
> tree and is named publish.sh.  You might look at it for ideas.
> 
>    http://www.sqlite.org/cvstrac/getfile/sqlite/publish.sh
> 
> 
> -- 
> D. Richard Hipp -- [EMAIL PROTECTED] -- 704.948.4565
> 


____________________________________________________
Aufnehmen, abschicken, nah sein - So einfach ist 
WEB.DE Video-Mail: http://freemail.web.de/?mc=021200

Reply via email to