"Francesco Andrisani" <[EMAIL PROTECTED]> wrote:
> Hi comunity,
> i've a problem when i try to cross compile sqlite-3.3.8 for mipsel 
> architecture.

Suggested approach.

  1.  Configure for the host.
  2.  Type "make target_source".  This puts a bugs of C source files
      in a subdirectory named "tsrc".
  3.  Remove tclsqlite.c and possibly also shell.c from tsrc.
  4.  Compile all the other C files in tsrc using your cross-compiler.

         for i in *.c; do xcc -c $i.c; done
         ar r libsqlite3.a *.o


The key step is to do "make target_source" on your host machine.
There is a lot of generated code in SQLite.  That step will do all
the automatic code generation and leave you with a batch of
ordinary C source code files, which are much easier to deal with
using a cross-compiler.
--
D. Richard Hipp  <[EMAIL PROTECTED]>


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

Reply via email to