Hi,
I'm trying to cross-compile sqlite, and I've run into some trouble
involving libtools. It's not the first problem I encountered during
cross-compilation, but this I couldn't yet get around. I write here in
hope that someone's already done it, and would know what to do.

The cross-compilation I'm currently trying is from x86 architecture to
x86 architecture, as I'm interested just to see that cross-compilation
of sqlite can work.

The problem is during make:
make
sed -e s/--VERS--/3.3.8/ ../sqlite-3.3.8/src/sqlite.h.in | \
sed -e s/--VERSION-NUMBER--/3003008/ >sqlite3.h
gcc -g -o lemon ../sqlite-3.3.8/tool/lemon.c
cp ../sqlite-3.3.8/tool/lempar.c .
cp ../sqlite-3.3.8/src/parse.y .
./lemon  -DSQLITE_OMIT_CURSOR           parse.y
mv parse.h parse.h.temp
awk -f ../sqlite-3.3.8/addopcodes.awk parse.h.temp >parse.h
cat parse.h ../sqlite-3.3.8/src/vdbe.c | gawk -f
../sqlite-3.3.8/mkopcodeh.awk >opcodes.h
./libtool --mode=compile gcc -g -DOS_UNIX=1 -DHAVE_USLEEP=1
-DHAVE_FDATASYNC=1 -I. -I../sqlite-3.3.8/src -DNDEBUG   -DTHREADSAFE=0
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_CURSOR -c
../sqlite-3.3.8/src/alter.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [alter.lo] Error 1

I would appreciate any ideas.

Additional information:
- System: LFS-6.1-based (x86)
- Cross compilation files are located under the prefix '/cross-tools'
- Destination files are to be located under prefix '/tools'
- PATH=/cross-tools/bin:/bin:/usr/bin
- configure command:
 config_TARGET_READLINE_INC=/tools/include/readline/
config_BUILD_CC=gcc ../sqlite-3.3.8/configure
--build=i686-cross-linux-gnu --host=i686-pc-linux-gnu --disable-tcl
- configure output is attached

Thanks,
Alon

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to