At 00:47 27/01/2008 +0100, Fred wrote:
>Maybe it needs additional libraries, the libraries are of a different 
>version, or it compiled for i686 instead of i586?

Nope, I just needed to tell gcc to compile SQLite statically into the EXE:

=====
# gcc -Wall dummy.c -o dummy -lsqlite3 -mtune=i386 -ldl -lpthread -static
# ll
1874717 Jan 27 01:02 dummy
# strip dummy
825228 Jan 27 01:02 dummy
=====

I'll ask in SQLite forums if I'm indeed doing it right and the binary can't 
be further stripped out. I'd rather use PHP in CLI mode, but this will do 
in the mean time.

Thanks.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to